[whatwg] Using Web Workers without external files

Michael Nordman michaeln at google.com
Wed Sep 23 18:03:08 PDT 2009


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>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090923/04b49027/attachment-0002.htm>


More information about the whatwg mailing list