Re: File API: reading a Blob

On Fri, Aug 8, 2014 at 5:56 PM, Arun Ranganathan <arun@mozilla.com> wrote:
> I strongly think we should leave FileReaderSync and FileReader alone. Also note that FileReaderSync and XHR (sync) are not different, in that both don’t do partial data. But we should have a stream api that evolves to read, and it might be something off Blob itself.

Seems fair.


> Other than “chunks of bytes” which needs some normative backbone, is the basic abstract model what you had in mind? If so, that might be worth getting into File APi and calling it done, because that’s a reusable abstract model for Fetch and for FileSystem.

Yeah that looks good. https://whatwg.github.io/streams/ defines chunks
and such, but is not quite there yet. But it is what we want to build
this upon eventually.

Received on Monday, 11 August 2014 11:25:12 UTC