> -----Original Message----- > From: Anne van Kesteren [mailto:annevk@opera.com] > Sent: Wednesday, March 07, 2012 12:49 AM > To: Arun Ranganathan; Feras Moussa > Cc: Adrian Bateman; public-webapps@w3.org; Ian Hickson > Subject: Re: [FileAPI] Deterministic release of Blob proposal > On Wed, 07 Mar 2012 02:12:39 +0100, Feras Moussa <ferasm@microsoft.com> > wrote: > >> xhr.send(blob); > >> blob.close(); // method name TBD > > > > In our implementation, this case would fail. We think this is > > reasonable because the need for having a close() method is to allow > > deterministic release of the resource. > > Reasonable or not, "would fail" is not something we can put in a standard. > What happens exactly? What if a connection is established and data is being > transmitted already? 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.Received on Wednesday, 7 March 2012 23:58:38 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT