Re: [File API] Draft for Review

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

> 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