[whatwg] Workers and URL origin check

Kristof Zelechovski giecrilj at stegny.2a.pl
Fri May 29 02:27:07 PDT 2009


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-0002.htm>


More information about the whatwg mailing list