https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/compileExprLater.js
File src/com/google/caja/ses/compileExprLater.js (right):
https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/compileExprLater.js#newcode18
src/com/google/caja/ses/compileExprLater.js:18: * outcome of attempting
to compile the argument expression.
This comment doesn't explain what compileExprLater is useful for. Is it
just a relic of designing for ES5/3 compatibility?
https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/compileExprLater.js#newcode94
src/com/google/caja/ses/compileExprLater.js:94:
JSON.stringify(prep.options) + ')));' + prep.suffixSrc;
It would be nice if it was made more obvious that the generated code was
well-formed and escaping-correct, but I have no specific ideas on how to
do so.
https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/debug.js
File src/com/google/caja/ses/debug.js (right):
https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/debug.js#newcode212
src/com/google/caja/ses/debug.js:212:
framePatterns.some(function(framePattern) {
Not using return value is odd, maybe point out you're using this for a
breakable array iterator?
https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/debug.js#newcode221
src/com/google/caja/ses/debug.js:221: span = [[+sub[2],+sub[3]]];
space after comma, no strong reason not to
https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/startSES.js
File src/com/google/caja/ses/startSES.js (right):
https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/startSES.js#newcode847
src/com/google/caja/ses/startSES.js:847: // TODO(erights): validate
Clarify this comment for maintainers who aren't you.
https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/useHTMLLogger.js
File src/com/google/caja/ses/useHTMLLogger.js (right):
https://codereview.appspot.com/54760043/diff/2/src/com/google/caja/ses/useHTMLLogger.js#newcode148
src/com/google/caja/ses/useHTMLLogger.js:148: appendText(link, urlText);
This can be link.textContent = urlText.
https://codereview.appspot.com/54760043/
--
---
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.