W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] Workers and URL origin check

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Fri, 29 May 2009 11:27:07 +0200
Message-ID: <6FDDABC1128B4A17839A241CFDD6AC18@POCZTOWIEC>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:49 UTC