- From: Jonas Sicking <jonas@sicking.cc>
- Date: Thu, 13 May 2010 15:54:04 -0700
- To: J Ross Nicoll <jrn@jrn.me.uk>
- Cc: arun@mozilla.com, Web Applications Working Group WG <public-webapps@w3.org>
On Thu, May 13, 2010 at 1:50 PM, J Ross Nicoll <jrn@jrn.me.uk> wrote: > On 13 May 2010, at 13:27, Arun Ranganathan wrote: > >> Greetings WebApps WG, >> >> I have updated the editor's draft of the File API to reflect changes that have been in discussion. >> >> http://dev.w3.org/2006/webapi/FileAPI >> >> Notably: >> >> 1. Blobs now allow further binary data operations by exposing an ArrayBuffer property that represents the Blob. ArrayBuffers, and affiliated "Typed Array" views of data, are specified in a working draft as a part of the WebGL work [1]. This work has been proposed to ECMA's TC-39 WG as well. We intend to implement some of this in the Firefox 4 timeframe, and have reason to believe other browsers will as well. I have thus cited the work as a normative reference [1]. Eventually, we ought to consider further read operations given ArrayBuffers, but for now, I believe exposing Blobs in this way is sufficient. > > Why remove the 'type' attribute from the File? Specifically, is there a real issue with duplicating the information in both the File and the Blob? Two main concerns: File inherits Blob, so everything that is available on Blob is available on File. This is similar to how HTMLElement inherits Element. getAttribute is available on HTMLElement, despite being defined on Element. / Jonas
Received on Thursday, 13 May 2010 22:54:56 UTC