W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: Lifetime of Blob URL

From: David Levin <levin@google.com>
Date: Tue, 13 Jul 2010 05:29:22 -0700
Message-ID: <AANLkTim5QamgiVos_ZavABK40GRdSsEslol9az2KRW5C@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Darin Fisher <darin@chromium.org>, Adrian Bateman <adrianba@microsoft.com>, "arun@mozilla.com" <arun@mozilla.com>, Web Applications Working Group WG <public-webapps@w3.org>
On Tue, Jul 13, 2010 at 12:48 AM, Anne van Kesteren <annevk@opera.com>wrote:

> On Mon, 12 Jul 2010 23:30:54 +0200, Darin Fisher <darin@chromium.org>
> wrote:
>
>> Right, it seems reasonable to say that ownership of the resource
>> referenced by a Blob can be shared by a XHR, Image, or navigation once it is
>> told to
>> start loading the resource.
>>
>
> Note that unless we make changes (separate thread please) to XMLHttpRequest
> this will not work. It is a cross-origin URL which cannot work with CORS.
>

It seems the origin for blob.url is defined to make it not cross-origin:
http://dev.w3.org/2006/webapi/FileAPI/#originOfBlob and here
http://dev.w3.org/2006/webapi/FileAPI/#url it mentions using the url for xhr
again.

dave


>
> --
> Anne van Kesteren
> http://annevankesteren.nl/
>
Received on Tuesday, 13 July 2010 12:29:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:39 GMT