Ok thanks -- look forward to hearing more. -- I
On Wed, Oct 17, 2012 at 10:19 PM, Doug Koellmer doug...@gmail.com wrote:
Thanks for the leads...it's good that I can do it all in whenReady.
I double-checked and everything seems to be on the same window. I'm doing
this in js native methods in
Comment #2 on issue 1565 by jas...@gmail.com: Add better console messages
when dynamic scripts are stripped or fail silently
http://code.google.com/p/google-caja/issues/detail?id=1565
Scripts added via the DOM api executes in all supported browsers ie.
Comment #3 on issue 1565 by metaw...@gmail.com: Add better console messages
when dynamic scripts are stripped or fail silently
http://code.google.com/p/google-caja/issues/detail?id=1565
Oh, right---it's only script blocks with text content that don't run, not
script blocks with a src tag.
Ok, here's a simple snippet that reproduces that issue I'm having...thanks
for looking at it.private static native void native_startUp()
/*-{
$wnd.caja.initialize
({
cajaServer: '/r.js/caja/1/',
resources: '/r.js/caja/1/',
debug: true
});
$wnd.caja.whenReady
(
Hi Doug,
Can you try, in the first ever native function called by your GWT app, to
first call, before doing anything else:
$wnd.caja.initFeralFrame(window);
See the similar change to a GWT program in our own codebase:
I just started looking through the documentation, but do you think Caja
would be a secure option for displaying html from incoming emails? This
would be for a company-internal, web-based email client.
Hey Mark,
Do you have more guidance on how to bootstrap SES in Node.js? I've tried
requiring the initSES file (as a module), but it' keeps on not finding
Function for some reason.
var ses = require('./initSES-minified.js');
TypeError: Cannot read property 'prototype' of undefined
at
Do you want to preserve javascript functionality in the emails you display?
If so, absolutely - that's the sort of thing we're designed for. If you
want to only display html, caja will do the job but it's a bit of an
overkill. We have a js html sanitizer which will render safely html (and
css)
hi Tristan,
We haven't tried running cajajs on node (as you point out, we're currently
geared up to be very browser specific) but we can try to help you debug
this since it means getting caja up and running on node. I looked into
this briefly and it appears that declaring a var in node creates a
Yup that worked! Thanks!
Awesome, good luck!! -- I
On Thu, Oct 18, 2012 at 3:21 PM, Doug Koellmer doug...@gmail.com wrote:
Yup that worked! Thanks!
--
Ihab A.B. Awad, Palo Alto, CA
Status: New
Owner: metaw...@gmail.com
Labels: Type-Defect Priority-Medium
New issue 1566 by kpreid.switchb.org: JQueryTest output causes spurious
main test path failures
http://code.google.com/p/google-caja/issues/detail?id=1566
What steps will reproduce the problem?
1. Introduce a failure
Updates:
Owner: ---
Comment #1 on issue 1566 by metaw...@gmail.com: JQueryTest output causes
spurious main test path failures
http://code.google.com/p/google-caja/issues/detail?id=1566
Could someone who actually understands the ant/junit test framework take
this instead?
Updates:
Owner: felix8a
Comment #2 on issue 1566 by felix8a: JQueryTest output causes spurious main
test path failures
http://code.google.com/p/google-caja/issues/detail?id=1566
(No comment was entered for this change.)
Reviewers: metaweta,
Description:
1. ant jquerytest currently always says BUILD SUCCESSFUL.
This makes ant complain if any of the tests fail.
2. jquerytest failures currently infect ant runtests.
This excludes jquerytest from the test summary report.
Please review this at
lgtm
https://codereview.appspot.com/6740049/
Revision: 5102
Author: feli...@gmail.com
Date: Thu Oct 18 22:16:18 2012
Log: exempt jquerytest
http://codereview.appspot.com/6740049
1. ant jquerytest currently always says BUILD SUCCESSFUL.
This makes ant complain if any of the tests fail.
2. jquerytest failures currently infect ant
Updates:
Status: Fixed
Comment #3 on issue 1566 by felix8a: JQueryTest output causes spurious main
test path failures
http://code.google.com/p/google-caja/issues/detail?id=1566
@r5102
18 matches
Mail list logo