Re: On starting WebWorkers with blob: URLs...

2014-03-21 Thread Jonas Sicking
On Fri, Mar 21, 2014 at 6:57 AM, Anne van Kesteren wrote: > On Fri, Mar 21, 2014 at 1:34 AM, Jonas Sicking wrote: >> We could. Would love to see proposals for that. Right now the >> specification for origin handling is fiction and as far as I know >> there is no proposal that all involved parties

Re: On starting WebWorkers with blob: URLs...

2014-03-21 Thread Anne van Kesteren
On Fri, Mar 21, 2014 at 1:34 AM, Jonas Sicking wrote: > We could. Would love to see proposals for that. Right now the > specification for origin handling is fiction and as far as I know > there is no proposal that all involved parties agree to. An important > question is if we can fix data:'s orig

Re: On starting WebWorkers with blob: URLs...

2014-03-20 Thread Jonas Sicking
On Wed, Mar 19, 2014 at 8:05 AM, Anne van Kesteren wrote: >> This is because we have been bit several times by having code from >> security context A (in our case code from chrome://) receive a URL >> from code from security context B. A would then load that URL. This >> way B can trick A into cre

Re: On starting WebWorkers with blob: URLs...

2014-03-19 Thread Anne van Kesteren
On Mon, Mar 17, 2014 at 6:19 PM, Jonas Sicking wrote: > On Mon, Mar 17, 2014 at 4:59 AM, Anne van Kesteren wrote: >> I don't think this is the way we should go about this. I don't >> understand why a blob URL would have an origin. > > Because URLs with origins are much simpler than what we do for

Re: On starting WebWorkers with blob: URLs...

2014-03-17 Thread Jonas Sicking
On Mon, Mar 17, 2014 at 4:59 AM, Anne van Kesteren wrote: > On Fri, Mar 14, 2014 at 10:40 PM, Ian Hickson wrote: >> On Fri, 14 Mar 2014, Arun Ranganathan wrote: >>> http://dev.w3.org/2006/webapi/FileAPI/#originOfBlobURL >> >> LGTM. Assuming that UAs implement this, that makes Workers automaticall

Re: On starting WebWorkers with blob: URLs...

2014-03-17 Thread Glenn Maynard
On Mon, Mar 17, 2014 at 6:59 AM, Anne van Kesteren wrote: > On Fri, Mar 14, 2014 at 10:40 PM, Ian Hickson wrote: > > On Fri, 14 Mar 2014, Arun Ranganathan wrote: > >> http://dev.w3.org/2006/webapi/FileAPI/#originOfBlobURL > > > > LGTM. Assuming that UAs implement this, that makes Workers automat

Re: On starting WebWorkers with blob: URLs...

2014-03-17 Thread Bjoern Hoehrmann
* Anne van Kesteren wrote: >On Fri, Mar 14, 2014 at 10:40 PM, Ian Hickson wrote: >> On Fri, 14 Mar 2014, Arun Ranganathan wrote: >>> http://dev.w3.org/2006/webapi/FileAPI/#originOfBlobURL >> >> LGTM. Assuming that UAs implement this, that makes Workers automatically >> support blob: URLs, too. > >

Re: On starting WebWorkers with blob: URLs...

2014-03-17 Thread Anne van Kesteren
On Fri, Mar 14, 2014 at 10:40 PM, Ian Hickson wrote: > On Fri, 14 Mar 2014, Arun Ranganathan wrote: >> http://dev.w3.org/2006/webapi/FileAPI/#originOfBlobURL > > LGTM. Assuming that UAs implement this, that makes Workers automatically > support blob: URLs, too. I don't think this is the way we sh

Re: On starting WebWorkers with blob: URLs...

2014-03-14 Thread Ian Hickson
On Fri, 14 Mar 2014, Arun Ranganathan wrote: > On Mar 12, 2014, at 6:54 PM, Ian Hickson wrote: > >> > >> For blob: URLs we agreed to make this pretty explicit: > >> http://dev.w3.org/2006/webapi/FileAPI/#originOfBlobURL > > > > Unfortunately, scripts don't have origins these days, so this > > d

Re: On starting WebWorkers with blob: URLs...

2014-03-14 Thread Arun Ranganathan
On Mar 12, 2014, at 6:54 PM, Ian Hickson wrote: >> For blob: URLs we agreed to make this pretty explicit: >> http://dev.w3.org/2006/webapi/FileAPI/#originOfBlobURL > > Unfortunately, scripts don't have origins these days, so this definition > doesn't really work. It didn't work since it wasn

Re: On starting WebWorkers with blob: URLs...

2014-03-12 Thread Ian Hickson
On Wed, 12 Mar 2014, Arun Ranganathan wrote: > On Feb 19, 2014, at 7:09 PM, Jonas Sicking wrote: > > On Wed, Feb 19, 2014 at 3:51 PM, Travis Leithead wrote: > > > > Agreed! It's a bit tricky since the concept of origins and thus "same > > origin" for data: and blob: is a bit unclear still. I.e. b

Re: On starting WebWorkers with blob: URLs...

2014-03-12 Thread Arun Ranganathan
On Feb 19, 2014, at 7:09 PM, Jonas Sicking wrote: > On Wed, Feb 19, 2014 at 3:51 PM, Travis Leithead > wrote: >> Seems like our specs are getting a little behind implementations. In IE11 we >> are finding that several new sites, notably those using WebGL content, have >> a dependency on startin

Re: On starting WebWorkers with blob: URLs...

2014-03-10 Thread Jonas Sicking
For what its worth, since then mozilla has implemented shared workers. I think they are in Aurora currently and reaching beta next week. So I believe we fulfill the two-implementations requirement. / Jonas On Mar 10, 2014 12:08 PM, "Arthur Barstow" wrote: > On 2/19/14 7:09 PM, ext Jonas Sicking

Re: On starting WebWorkers with blob: URLs...

2014-03-10 Thread Arthur Barstow
On 2/19/14 7:09 PM, ext Jonas Sicking wrote: On Wed, Feb 19, 2014 at 3:51 PM, Travis Leithead wrote: Seems like our specs are getting a little behind implementations. In IE11 we are finding that several new sites, notably those using WebGL content, have a dependency on starting web workers wi

Re: On starting WebWorkers with blob: URLs...

2014-02-19 Thread Jonas Sicking
On Wed, Feb 19, 2014 at 3:51 PM, Travis Leithead wrote: > Seems like our specs are getting a little behind implementations. In IE11 we > are finding that several new sites, notably those using WebGL content, have a > dependency on starting web workers with a Blob URL. As I understand it: > > The