[whatwg] Fwd: Using Web Workers without external files
gundersen at gmail.com
Wed Sep 23 19:37:10 PDT 2009
---------- Forwarded message ----------
From: Marius Gundersen <gundersen at gmail.com>
Date: Thu, Sep 24, 2009 at 11:20 AM
Subject: Re: [whatwg] Using Web Workers without external files
To: Michael Nordman <michaeln at google.com>
str = "<script to evaluate>";
On Thu, Sep 24, 2009 at 11:03 AM, Michael Nordman <michaeln at google.com>wrote:
> Data urls seem like a real good fit for dedicated workers.
> On Wed, Sep 23, 2009 at 5:35 PM, Jonas Sicking <jonas at sicking.cc> wrote:
>> On Wed, Sep 23, 2009 at 2:51 PM, Tab Atkins Jr. <jackalmage at gmail.com>
>> > On Wed, Sep 23, 2009 at 4:40 PM, Jonas Sicking <jonas at sicking.cc>
>> >> I think making data: urls is an ok solution,
>> > At the moment, data: urls don't seem to be usable with Workers due to
>> > same-origin restrictions; canvas methods get to special-case data: to
>> > not be treated as different-origin (and thus dirty themselves), but
>> > there doesn't appear to be a similar relaxation of the origin rules
>> > for data: urls in script.
>> I know, I'm saying that we should relax that.
>> / Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg