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

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

From: Simon Pieters <simonp@opera.com>
Date: Fri, 13 Apr 2012 08:57:30 +0200
To: "Anne van Kesteren" <annevk@opera.com>, "Eric U" <ericu@google.com>
Cc: "Boris Zbarsky" <bzbarsky@mit.edu>, public-webapps@w3.org
Message-ID: <op.wcoyx4y6idj3kv@simons-macbook-pro.local>
On Thu, 12 Apr 2012 22:11:38 +0200, Eric U <ericu@google.com> wrote:

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

Please just remove it from the spec directly. If implementors feel they  
want to keep it around for a while longer, that's up to them, but the spec  
should describe the end goal.

As for implementations, it's usually simpler to remove features earlier  
than to wait a while and hope it will be possible to remove it later. The  
longer a feature is exposed on the Web, the more content will end up  
relying on it.

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

Simon Pieters
Opera Software
Received on Friday, 13 April 2012 06:58:03 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:40 UTC