- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Fri, 25 Apr 2014 15:49:36 +0200
- To: Philippe Le Hegaret <plh@w3.org>
- Cc: Arvind Jain <arvind@google.com>, Jonas Sicking <jonas@sicking.cc>, "public-web-perf@w3.org" <public-web-perf@w3.org>
On Fri, Apr 25, 2014 at 3:35 PM, Philippe Le Hegaret <plh@w3.org> wrote: > On Thu, 2014-02-13 at 18:25 +0000, Anne van Kesteren wrote: >> 2f) You don't deal with closed blobs (unclear yet how that should be done). > > The size attribute for the Blob would be 0 [1] after a close so I'd > expect the raw data to be empty for a closed Blob. Looking at the send > method for XHR or the Blob constructor itself, they don't seem to do > anything special in those cases, so they'd expect the same thing as well > I presume. A note could be added to step 6 in Beacon if needed but it's > not clear to me why we would need to do so in Beacon, while this is not > done in XHR or the Blob constructor definition. > > [1] http://www.w3.org/TR/FileAPI/#dfn-close As I said, it's not clear yet how it should be done, but this is most definitely wrong in XMLHttpRequest. It doesn't even detail how reading from the blob works and what should happen if that fails. -- http://annevankesteren.nl/
Received on Friday, 25 April 2014 13:50:04 UTC