- From: Charles Pritchard <chuck@jumis.com>
- Date: Tue, 06 Mar 2012 17:32:04 -0800
- To: Feras Moussa <ferasm@microsoft.com>
- CC: Arun Ranganathan <aranganathan@mozilla.com>, Adrian Bateman <adrianba@microsoft.com>, "public-webapps@w3.org" <public-webapps@w3.org>, Ian Hickson <ian@hixie.ch>, Anne van Kesteren <annevk@opera.com>
On 3/6/12 5:12 PM, Feras Moussa wrote:
>> >
>> > frameRef.src = URL.createObjectURL(blob);
>> > blob.close() // method name TBD
>> >
>> > In my opinion, the first (using xhr) should succeed. In the second, frameRef.src works,
>> > but subsequent attempts to mint a Blob URI for the same 'blob' resource fail. Does this
>> > hold true for you?
> We agree that subsequent attempts to mint a blob URI for a blob that has been closed
> should fail, and is what I tried to clarify in my comments in 'section 6'.
> As an aside, the above example shows navigation to a Blob URI - this is not something we
> Currently support or intend to support.
>
Then let's try this again.
var a = new Image();
a.onerror = function() { console.log("Oh no, my parent was neutered!"); };
a.src = URL.createObjectURL(blob);
blob.close();
Is that error going to hit?
var a = new Worker('#');
a.postMessage(blob);
blob.close();
Is that blob going to make it to the worker?
-Charles
Received on Wednesday, 7 March 2012 01:32:29 UTC