W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: BlobBuilder.append() should take ArrayBufferView in addition to ArrayBuffer

From: Eric U <ericu@google.com>
Date: Thu, 12 Apr 2012 13:11:38 -0700
Message-ID: <CAHvSExfKahY7n2VgRsvjMmCcrYfo9MQ-NxqUzYbH8p4rB_3VyA@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, public-webapps@w3.org
On Thu, Apr 12, 2012 at 12:54 PM, Anne van Kesteren <annevk@opera.com> wrote:
> On Thu, 12 Apr 2012 21:48:12 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>>
>> Because it's still in the current editor's draft and it's still in the
>> Gecko code and I was just reviewing a patch to it and saw the API?  ;)
>
>
> Eric, the plan is to remove that from File Writer, no?

Yes.  The next draft I publish will mark it deprecated, and it will
eventually go away.  However, currently at least Gecko and WebKit
support BlobBuilder, and WebKit doesn't yet have the Blob constructor,
so it'll be a little while before it actually fades away.

That being said, we should be talking about making this addition to
Blob, not to BlobBuilder.

>>> I thought we discussed long ago it should be removed in favor of a
>>> constructable(sp?) Blob?
>>
>>
>> Could be.  Like I said, it's still in the editor's draft.
>
>
> Blob with constructor is in http://dev.w3.org/2006/webapi/FileAPI/
>
>
>
>>> Also, should it not accept just ArrayBufferView then as per
>>> XMLHttpRequest?
>>
>>
>> Is there existing content depending on BlobBuilder and its ArrayBufferView
>> stuff?
>
>
> I thought the idea was to not have BlobBuilder at all.
>
>
>
> --
> Anne van Kesteren
> http://annevankesteren.nl/
Received on Thursday, 12 April 2012 20:12:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:51 GMT