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 jo...@sicking.cc 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

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 ann...@annevk.nl wrote: On Fri, Mar 21, 2014 at 1:34 AM, Jonas Sicking jo...@sicking.cc 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

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 ann...@annevk.nl 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

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 jo...@sicking.cc wrote: On Mon, Mar 17, 2014 at 4:59 AM, Anne van Kesteren ann...@annevk.nl 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

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 i...@hixie.ch 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

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 i...@hixie.ch 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 Glenn Maynard
On Mon, Mar 17, 2014 at 6:59 AM, Anne van Kesteren ann...@annevk.nl wrote: On Fri, Mar 14, 2014 at 10:40 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 14 Mar 2014, Arun Ranganathan wrote: http://dev.w3.org/2006/webapi/FileAPI/#originOfBlobURL LGTM. Assuming that UAs implement this, that

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 ann...@annevk.nl wrote: On Fri, Mar 14, 2014 at 10:40 PM, Ian Hickson i...@hixie.ch 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

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't

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 definition

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 travis.leith...@microsoft.com 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

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. browsers

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 travis.leith...@microsoft.com 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

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 art.bars...@nokia.com wrote: On 2/19/14 7:09

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

2014-02-19 Thread Jonas Sicking
On Wed, Feb 19, 2014 at 3:51 PM, Travis Leithead travis.leith...@microsoft.com 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.