- From: Charles Pritchard <chuck@jumis.com>
- Date: Wed, 07 Mar 2012 16:00:56 -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/7/12 3:56 PM, Feras Moussa wrote:
>> 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?
> until it has been revoked, so in your example onerror would not be hit
> due to calling close.
>> var a = new Worker('#');
>> a.postMessage(blob);
>> blob.close();
> The above would work as expected.
Well that all makes sense; so speaking for myself, I'm still confused
about this one thing:
>> xhr.send(blob);
>> blob.close(); // method name TBD
> In our implementation, this case would fail. We think this is reasonable because the
So you want this to be a situation where we monitor progress events of
XHR before releasing the blob?
It seems feasible to monitor the upload progress, but it is a little
awkward.
-Charles
Received on Thursday, 8 March 2012 00:01:22 UTC