- From: Arun Ranganathan <aranganathan@mozilla.com>
- Date: Fri, 27 Jan 2012 15:58:52 -0800 (PST)
- To: Charles Pritchard <chuck@jumis.com>
- Cc: "Web Applications Working Group WG (public-webapps@w3.org)" <public-webapps@w3.org>
> On 1/26/12 1:21 PM, Arun Ranganathan wrote:
> Yes, this is nicer. There's no way to create a new File object: I
> can't
> set name and lastModifiedDate.
These can't be done, but there is FileSaver/FileWriter).
>
> There's an error in the blob constructor code. It uses object
> notation
> for the first argument instead of array notation.
> var c = new Blob({b, arraybuffer});
> Should be
> var c = new Blob([b, arraybuffer]);
Fixed (and that was silly of me -- I'm sorry :( ).
>
> I don't understand the following example:
> // Simply create a new Blob object
> var x = new Blob(12);
It was overkill. I've removed it.
>
> > Please review the editor's draft at:
> > http://dev.w3.org/2006/webapi/FileAPI/
> I want to see the FileSaver (and a new, FileSaverStream) interface
> moved
> into the File API.
You mean, you find difficulty in the way they're set up now? By "moved" you mean you want them part of the same specification? Why?
-- A*
Received on Friday, 27 January 2012 23:59:20 UTC