[Bug 24072] Clarify handling of neutered objects

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

--- Comment #7 from Arun <arun@mozilla.com> ---
(In reply to Anne from comment #6)
> No, but I think it's on Arun to define the complete Blob life cycle. And if
> that turns out to expose states that ought to behave differently in other
> contexts, it would be up to us to deal with that.

OK; I agree this should be done in File API, and I agree it is therefore on me.

It seems from the list you would also like a rewrite of the FileReader.read*
methods in terms of Blob state / model.  This seems fine, but there are some
points which I'd like you to clarify your opinion on based on mail list
comments:

1. An empty Blob and a Blob of size 0 are not equivalent in your opinion,
correct?
2. Should reading an empty Blob be treated as an I/O error, using the existing
way we do this in read methods (namely, error event coupled with a DOMError),
or simply return a distinct result?  Can this be applied to FormData?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 10 January 2014 16:42:10 UTC