https://codereview.appspot.com/11291043/diff/3001/tests/com/google/caja/plugin/generic-host-page.html
File tests/com/google/caja/plugin/generic-host-page.html (right):
https://codereview.appspot.com/11291043/diff/3001/tests/com/google/caja/plugin/generic-host-page.html#newcode119
tests/com/google/caja/plugin/generic-host-page.html:119: .api({
The point of this page is to provide an _unmodified_ Caja environment. I
can see the use of this, but you should make it opt-in — just add
another checkbox to the form.
(We also ought to have a single standard implementation of "just pass on
alert()", but ...)
(Now, the _right_ solution for debuggability is to provide 'console' by
default, but that's more work.)
https://codereview.appspot.com/11291043/diff/3001/tests/com/google/caja/plugin/third-party-tests.json
File tests/com/google/caja/plugin/third-party-tests.json (right):
https://codereview.appspot.com/11291043/diff/3001/tests/com/google/caja/plugin/third-party-tests.json#newcode6
tests/com/google/caja/plugin/third-party-tests.json:6: "guest-template":
"/third_party/js/jqueryjs/test/index.html?dev=true&module=*",
What does dev=true do?
https://codereview.appspot.com/11291043/diff/3001/tests/com/google/caja/plugin/third-party-tests.json#newcode13
tests/com/google/caja/plugin/third-party-tests.json:13:
"https://code.google.com/p/google-caja/issues/detail?id=1199",
Links are good. Just links, not so good. This doesn't help the reader
figure out whether the failure they're seeing is known.
https://codereview.appspot.com/11291043/diff/3001/tests/com/google/caja/plugin/third-party-tests.json#newcode57
tests/com/google/caja/plugin/third-party-tests.json:57: "comment": [
delete this
https://codereview.appspot.com/11291043/diff/3001/tests/com/google/caja/plugin/third-party-tests.json#newcode87
tests/com/google/caja/plugin/third-party-tests.json:87:
"TODO(ihab.awad): Amidst this file with diagnosis and bug filing"
That's a bit cryptic in case someone else is picking up the work.
https://codereview.appspot.com/11291043/diff/3001/third_party/js/jqueryjs/test/unit/attributes.js
File third_party/js/jqueryjs/test/unit/attributes.js (right):
https://codereview.appspot.com/11291043/diff/3001/third_party/js/jqueryjs/test/unit/attributes.js#newcode82
third_party/js/jqueryjs/test/unit/attributes.js:82: // TODO(ihab.awad):
'target' attributes are rewritten in Caja.
My practice has been to label modifications "Patched for Caja" so we can
uniformly grep and forward-port them. If you want to use other labels,
please add documentation of them to jqueryjs/README-Caja.txt.
(Actually, that file doesn't even mention "Patched for Caja". I see I
confused it with third_party/js/proxies/README-Caja which has a similar
role. Please add suitable text to the one for jQuery.)
And unless you're planning to fix the visibility of attribute rewriting,
I don't see that this is a TODO.
tab indent lines in this file for consistency
https://codereview.appspot.com/11291043/diff/3001/third_party/js/jqueryjs/test/unit/attributes.js#newcode157
third_party/js/jqueryjs/test/unit/attributes.js:157: // TODO(ihab.awad):
'onclick' JavaScript attributes are rewritten in Caja.
tab indent
https://codereview.appspot.com/11291043/diff/3001/third_party/js/jqueryjs/test/unit/attributes.js#newcode350
third_party/js/jqueryjs/test/unit/attributes.js:350: // TODO(ihab.awad):
Setting 'autofocus' property throws, so we need to add the
That was fixed in r5483.
https://codereview.appspot.com/11291043/diff/3001/third_party/js/jqueryjs/test/unit/attributes.js#newcode375
third_party/js/jqueryjs/test/unit/attributes.js:375: // TODO(ihab.awad):
document.createAttrbute() is nonexistent, so we need to
typo: createAttribute (also occurs below)
https://codereview.appspot.com/11291043/
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.