W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

[File API] Draft for Review

From: Arun Ranganathan <aranganathan@mozilla.com>
Date: Thu, 26 Jan 2012 13:21:31 -0800 (PST)
To: "Web Applications Working Group WG (public-webapps@w3.org)" <public-webapps@w3.org>
Message-ID: <09d416d7-5eb2-442e-91af-d9c00d25c642@zimbra1.shared.sjc1.mozilla.com>
Greetings public-webapps,

I'd like to encourage some review of File API: 


You can send comments to this listserv, or file a bug, since this spec. now has a Bugzilla component.

Here are some notable changes:

1. Blob is now constructable, following discussions on the listserv [Blob].  We're not using rest params and ES6 syntactic sugar *yet* (arrays for now), but I still think it one-ups BlobBuilder. 

2. URL.createObjectURL now takes an optional boolean, following discussions on the listserv [oneTimeOnly].

3. File's immutable "snapshot" nature means that it is prudent to specify correctly what happens following a post-reference modification; I'd like us to standardize NotReadableError (thrown as NotReadableError as DOMError following error event). [Snapshot]

4. Portions of the blob: protocol have been removed, following discussion on the listserv [Protocol1].

5. String length restrictions have been relaxed [Protocol2].

6. I'd like reader.readAsText(file) to be informed by the Encodings Specification [Enc].  I'll catch up with annevk about this separately, but I've changed the encoding algorithm to be neater.

7. readAsBinaryString has been disappeared [nukeRABS].

Please review the editor's draft at: http://dev.w3.org/2006/webapi/FileAPI/

-- A*

[Blob] http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0439.html
[oneTimeOnly] http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/1499.html
[Snapshot] http://lists.w3.org/Archives/Public/public-webapps/2012JanMar/0177.html
[Protocol1] http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/1495.html
[Protocol2] http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/1496.html
[Enc] http://dvcs.w3.org/hg/encoding/raw-file/tip/Overview.html
[nukeRABS] http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/1497.html
Received on Thursday, 26 January 2012 21:22:00 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:38 UTC