[webkit-dev] XHR responseArrayBuffer attribute

Michael Nordman michaeln at google.com
Mon Sep 27 15:19:34 PDT 2010

Webkit's XHR currently does not keep two copies of the data that I can see.
I think we should avoid that.

On Mon, Sep 27, 2010 at 2:40 PM, Anne van Kesteren <
annevankesteren at gmail.com> wrote:

> (I'm subscribed to webkit-dev with a different address.)
> On Mon, Sep 27, 2010 at 8:31 PM, Michael Nordman <michaeln at google.com>
> wrote:
> > Yes, if we go with telling xhr up front for the array buffer case, I
> guess
> > an enum would be slightly better.
> I do not think this should be told up front. You already need to keep
> the octet buffer in memory for overrideMimeType to work the way it
> does. We designed responseBlob as an optimization so you would not
> have to deal with the other types. I do not think you can optimize the
> reverse with the design as it stands today.
> In any event, any discussion on changes to the specification really
> ought to happen on public-webapps at w3.org.
> Cheers,
> --
> Anne van Kesteren
> http://annevankesteren.nl/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100927/3773391f/attachment.html>

More information about the webkit-dev mailing list