W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: [Workers] Worker same-origin and usage in JS libraries...

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 30 Nov 2012 00:31:08 +0000 (UTC)
To: Jonas Sicking <jonas@sicking.cc>
cc: Travis Leithead <travis.leithead@microsoft.com>, public-webapps <public-webapps@w3.org>, Adrian Bateman <adrianba@microsoft.com>
Message-ID: <Pine.LNX.4.64.1211300025360.9975@ps20323.dreamhostps.com>
On Tue, 17 Jul 2012, Ian Hickson wrote:
> My plan is to make it so that cross-origin URLs start cross-origin 
> workers. The main unresolved question is how to do this in an opt-in 
> manner. The best idea I've come up with so far is having scripts that 
> want to opt-in to being run in such a way start with a line line:
>    // Cross-Origin Worker for: http://example.net
> ...or (for multiple domains):
>    // Cross-Origin Worker for: http://example.com https://example.org
> ...or (for any domain):
>    // Cross-Origin Worker for all origins
> ...but that doesn't seem super neat.

Just as an update, I still plan to do this, but I'm currently waiting for 
browser vendors to more widely implement the existing Worker, 
SharedWorker, MessagePort, and PortCollection features before adding more 
features to this part of the spec. It would also be helpful to have 
confirmation from browser vendors that y'all actually _want_ cross-origin 
workers, before I spec it.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 30 November 2012 00:31:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:48 UTC