File API: closed Blob objects

See https://www.w3.org/Bugs/Public/show_bug.cgi?id=24072 for context.

What's the use case for close()?

If we are to have close(), let's define it in such a way that once you
invoke it the Blob represents the empty byte sequence. This way other
code that takes and operates on Blob objects does not have to special
case closed Blob objects, but can just treat them as Blob objects that
happen to be empty.


-- 
http://annevankesteren.nl/

Received on Thursday, 12 December 2013 15:07:36 UTC