[whatwg] Behavior when <script> is removed from DOM

On 12/7/11 3:22 PM, Joshua Bell wrote:
> This can't be implemented in JS today (e.g. as a shim) since that "evaluate
> this script text in this new global sandbox" bit isn't present.

It can sort of be done via opening a new window and setting its opener 
to null before injecting some <script> tags into it.  Modulo popup 
blockers and crappy user experience, of course....

-Boris

Received on Wednesday, 7 December 2011 12:29:39 UTC