W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: [FileAPI] Deterministic release of Blob proposal

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 08 Mar 2012 14:30:28 +0100
To: "Arun Ranganathan" <aranganathan@mozilla.com>, "Feras Moussa" <ferasm@microsoft.com>
Cc: "Adrian Bateman" <adrianba@microsoft.com>, "public-webapps@w3.org" <public-webapps@w3.org>, "Ian Hickson" <ian@hixie.ch>
Message-ID: <op.waus42cw64w2qv@annevk-macbookpro.local>
On Thu, 08 Mar 2012 00:58:02 +0100, Feras Moussa <ferasm@microsoft.com>  
wrote:
> In the case where close was called on a Blob that is being used in a
> pending request, then the request should be canceled. The expected
> result is the same as if abort() was called.

It seems very weird that invoking close() on Blob would invoke abort() on  
XMLHttpRequest. Would it not be better to not set the close flag until it  
is no longer in use?


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 8 March 2012 13:31:14 GMT

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