On Tue, Nov 15, 2011 at 10:55 AM, Glenn Maynard <gl...@zewt.org> wrote:
> On Mon, Oct 24, 2011 at 6:52 PM, Jonas Sicking <jo...@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