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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 12 Apr 2012 15:48:12 -0400
Message-ID: <4F87317C.80701@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: public-webapps@w3.org
On 4/12/12 3:44 PM, Anne van Kesteren wrote:
> On Thu, 12 Apr 2012 21:26:24 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> This should make it easier to append limited views; appending the
>> .buffer is a footgun because it appends the whole buffer.
>
> Why are we still discussing BlobBuilder?

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?  ;)

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

> Also, should it not accept just ArrayBufferView then as per XMLHttpRequest?

Is there existing content depending on BlobBuilder and its 
ArrayBufferView stuff?

-Boris
Received on Thursday, 12 April 2012 19:48:45 GMT

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