https://codereview.appspot.com/43490045/diff/1/src/com/google/caja/ses/explicit.html
File src/com/google/caja/ses/explicit.html (right):
https://codereview.appspot.com/43490045/diff/1/src/com/google/caja/ses/explicit.html#newcode156
src/com/google/caja/ses/explicit.html:156: (function() {
On 2013/12/18 04:28:03, kpreid2 wrote:
Please add an explanation of what this is testing for. Right now it
just logs a
message that doesn't help the user know what it means.
Done, by expanding the logged message.
https://codereview.appspot.com/43490045/diff/1/src/com/google/caja/ses/explicit.html#newcode168
src/com/google/caja/ses/explicit.html:168: var stack = 'nothing caught';
On 2013/12/18 04:28:03, kpreid2 wrote:
Unused variable? Were you meaning to test ses.getStack?
Done. Oops. Holdover from a previous version where I was indeed testing
ses.getStack directly.
https://codereview.appspot.com/43490045/diff/1/src/com/google/caja/ses/explicit.html#newcode171
src/com/google/caja/ses/explicit.html:171: } catch (er) {
On 2013/12/18 04:28:03, kpreid2 wrote:
Odd variable name. Please use either 'e' or 'err', whichever is more
common in
the codebase.
Done.
https://codereview.appspot.com/43490045/diff/1/src/com/google/caja/ses/explicit.html#newcode176
src/com/google/caja/ses/explicit.html:176: })();
On 2013/12/18 04:28:03, kpreid2 wrote:
}());
Done. But why?
https://codereview.appspot.com/43490045/diff/1/src/com/google/caja/ses/repairES5.js
File src/com/google/caja/ses/repairES5.js (right):
https://codereview.appspot.com/43490045/diff/1/src/com/google/caja/ses/repairES5.js#newcode4568
src/com/google/caja/ses/repairES5.js:4568: preSeverity:
severities.UNSAFE_SPEC_VIOLATION,
On 2013/12/18 04:28:03, kpreid2 wrote:
Please also add this to the set of acceptNoKnownExploitProblems in
caja.js. It
qualifies since it doesn't violate the integrity of Caja itself — it
only
affects illegal-in-ES5 code which, if it were to occur in Caja's
source, would
be caught by our testing under other browsers.
Done.
https://codereview.appspot.com/43490045/diff/1/src/com/google/caja/ses/repairES5.js#newcode4571
src/com/google/caja/ses/repairES5.js:4571: sections: [],
On 2013/12/18 04:28:03, kpreid2 wrote:
Cite the section which prohibits functions inside blocks in strict
mode.
I can't find it. Emailing Allen.
https://codereview.appspot.com/43490045/
--
---
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.