https://codereview.appspot.com/12801043/diff/19001/src/com/google/caja/ses/repairES5.js
File src/com/google/caja/ses/repairES5.js (right):
https://codereview.appspot.com/12801043/diff/19001/src/com/google/caja/ses/repairES5.js#newcode2774
src/com/google/caja/ses/repairES5.js:2774: } else if (e instanceof Error
&& typeof DOMException !== 'undefined' &&
On 2013/10/09 22:37:11, MarkM wrote:
If there is no DOMException, as one would expect outside the browser,
and
e is instanceof Error, then this test should return false.
If there is no DOMException, this test is almost meaningless. Changed to
simply exit early.
(The more general version of this test would be "threw an error whose
[[Prototype]] is not in the SES whitelist", but that would be more hairy
layer-mixing.)
https://codereview.appspot.com/12801043/
--
---
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.