Module isolation

Kevin Curtis kevinc1846 at googlemail.com
Mon Jan 11 12:17:07 PST 2010


So, FF3.5 has resurrected the sandboxed eval with the second 'global' object
parameter - as the closure peeking issue has been fixed. (The second param
is a live object rather than a string). And thus if the second param object
is frozen (and the primordials and their prototypes etc frozen) FF3.5 eval
could act as a restricted eval.

Was there anything - now the closure issue has been fixed - that argues
against making this sandboxed eval a standard (somewhere). (Though my
preference is for frozen primordials as standard in a betterEval).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20100111/44165cdf/attachment.html>


More information about the es-discuss mailing list