W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2014

Re: File API: reading a Blob

From: Arun Ranganathan <arun@mozilla.com>
Date: Wed, 3 Sep 2014 20:24:17 -0400
Cc: Web Applications Working Group WG <public-webapps@w3.org>, Domenic Denicola <domenic@domenicdenicola.com>, Kyle Huey <me@kylehuey.com>
Message-Id: <68ED706D-CEF3-4FB8-8A77-870837F4938E@mozilla.com>
To: Anne van Kesteren <annevk@annevk.nl>
On Aug 11, 2014, at 7:24 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

>> 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.

I’ve fixed the model according to these discussions:

1. We’ve separated the read operation and the “annotated task read operation.” The former uses Fetch’s notion of a body, which is a byte stream, and so is convenient to work with. Hopefully, it should allow plugging right back into Fetch.

2. The methods now invoke an annotated task read operation.


— A*
Received on Thursday, 4 September 2014 00:24:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:26 UTC