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

[whatwg] Passing more than JSON data to workers

From: Jonathan 'J5' Cook <jonathan.j5.cook@gmail.com>
Date: Wed, 16 Dec 2009 13:34:20 -0500
Message-ID: <4B29282C.20305@gmail.com>
Simon Pieters wrote:
> On Wed, 16 Dec 2009 18:26:59 +0100, Boris Zbarsky <bzbarsky at mit.edu> 
> wrote:
>
>> On 12/16/09 9:23 AM, Jan Fabry wrote:
>>> The Google Gears API seems to provide both createWorker(scriptText) 
>>> and createWorkerFromUrl(scriptUrl). Why was only the URL variant 
>>> retained in the Web Workers spec?
>>
>> Does using a data: url with the script text not work?
>
> data: URL is prohibited per the spec (because of the same-origin 
> restriction) and doesn't work in Gecko or WebKit, but we've allowed 
> data: URLs in Opera.
>
Did anything ever come out of the earlier request-less web worker 
discussion?  (the one where I piped in w/o knowing what I was talking 
about!  oops!)

Regards,
J5
Received on Wednesday, 16 December 2009 10:34:20 UTC

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