W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2010

[whatwg] Inline Web Worker

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 16 Oct 2010 09:29:02 -0700
Message-ID: <AANLkTi=NP5uUgm17TuROH3mrAy+m+JnvDs2tFAa3_xPh@mail.gmail.com>
On Sat, Oct 16, 2010 at 3:30 AM, Simon Pieters <simonp at opera.com> wrote:
> On Sat, 16 Oct 2010 03:12:38 +0200, Jonas Sicking <jonas at sicking.cc> wrote:
>
>> Allowing both blob URLs and data URLs for workers sounds like a great
>> idea.
>
> FWIW, Opera supports data URLs for Worker (but not SharedWorker since it
> could be used to cross the same-origin policy if two pages opened a
> SharedWorker with the same data URL -- this could be solved while still
> supporting data URLs but we decided to just drop it for now).

Right; that doesn't seem at all necessary.  Data urls pick up an
origin when they're resolved; there's no reason that the same data url
used in different origins would be treated as the same origin.  The
exact origin they pick up needs to be specified, but that's pretty
trivial.

~TJ
Received on Saturday, 16 October 2010 09:29:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:01 UTC