Re: Is BlobBuilder needed?

On Tue, Nov 15, 2011 at 10:55 AM, Glenn Maynard <glenn@zewt.org> wrote:

> On Mon, Oct 24, 2011 at 6:52 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>
>> It was pointed out to me on twitter that BlobBuilder can be replaced
>> with simply making Blob constructable. I.e. the following code:
>>
>
> I noticed this at
> https://developer.mozilla.org/en/Firefox_8_for_developers:
>
> "BlobBuilder now has a getFile() method that returns the content of the
> blob as a file."
>
> This suggests a File constructor as well, eg. b = new File([foo, bar], {
> name: "file.jpg" });.
>
> (Of course, the only difference is that the created object has the File
> interface, with an attached filename.  It would make no difference to how
> the data is stored, which isn't actually tied to the interface.)
>

I think we decided that we're going to remove getFile.  See
https://bugzilla.mozilla.org/show_bug.cgi?id=669437#c7 and later.

- Kyle

Received on Tuesday, 15 November 2011 16:04:59 UTC