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

[whatwg] Web Workers Draft

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 16 Dec 2008 10:48:57 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0812160650080.30225@hixie.dreamhostps.com>
On Tue, 9 Dec 2008, Douglas Mayle wrote:
>
> I was taking a look at the Web Workers Draft ( 
> http://www.whatwg.org/specs/web-workers/current-work/ ), and I couldn't 
> find any mention of cross domain workers.  I've read a bit about 
> relaxing domain restrictions on documents, but worker's don't seem to 
> have a document object. I also see the details about location, but I 
> haven't found any information about relaxing the origin.  Is there any 
> plan to allow cross-domain workers? I'm currently using them in Gears to 
> enable a shared storage solution, and would like to be able to migrate 
> one day to official standards.

On Tue, 9 Dec 2008, Douglas Mayle wrote:
>
> After sending this, it occurs to me that at the worst, I could have a 
> separate document to marshal access to a cross domain web worker.  It's 
> an extra hoop to jump through, but at least it would work.

Currently, scripts run in the origin of their main script, and the main 
script of a worker has to be same-origin with the creator of the script. 
We might change this once we have implementation experience, but in 
general having an <iframe> doesn't seem like a great burden for now.

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 16 December 2008 02:48:57 UTC

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