[whatwg] Using Web Workers without external files

Jonas Sicking jonas at sicking.cc
Wed Sep 23 17:35:15 PDT 2009


On Wed, Sep 23, 2009 at 2:51 PM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> On Wed, Sep 23, 2009 at 4:40 PM, Jonas Sicking <jonas at sicking.cc> wrote:
>> 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



More information about the whatwg mailing list