Re: File API: closed Blob objects

On Mon, Dec 16, 2013 at 3:48 PM, Glenn Maynard <glenn@zewt.org> wrote:
> Also, you can close() a Blob while an async XHR is taking place on it.

Yeah, for that to be clear the model blobs are using needs to be much
better defined. To make it clear what the order of steps here is.


> It also means you can say xhr.open("GET", blobURL); blob.close(); and have it work sensibly

You can still have an IO error of sorts so there needs to be an
underlying model that describes blob read operations upon which the
blob API is layered. XMLHttpRequest and other consumers can then use
the underlying model rather than the vague language we have now.


-- 
http://annevankesteren.nl/

Received on Monday, 16 December 2013 15:55:20 UTC