Re: Lifetime of Blob URL

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 UTC