[whatwg] Workers and URL origin check

Inserting a SCRIPT element is not equivalent to a server-side include.  It
is more like linking to an object file.  In particular, substitution macros
(e.g. CONST in BASIC) in one script do not apply other scripts (all scripts
present have already been parsed, and applying them to future scripts would
be to fragile).

Does it also apply to importScripts?

Chris

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090529/8ddaf0f8/attachment.htm>

Received on Friday, 29 May 2009 02:27:07 UTC