[webkit-dev] XHR responseArrayBuffer attribute

Michael Nordman michaeln at google.com
Fri Sep 24 17:19:13 PDT 2010


With xhr.responseBlob we chose to have the caller decide up front and tell
the xhr object how it would like the response by setting the xhr.asBlob
attribute prior to calling send(). We could do the same with
xhr.asArrayBuffer.

On Fri, Sep 24, 2010 at 5:09 PM, Alexey Proskuryakov <ap at webkit.org> wrote:

>
> 24.09.2010, в 16:37, Chris Rogers написал(а):
>
> > I was interested to know if anybody was planning on implementing that
> attribute soon.  If not, I would like to add this myself.
>
> The key problem to solve is how to not double the memory use of the
> XMLHttpRequest object, while not making responseText and responseXML slow.
>
> See also: <https://bugs.webkit.org/show_bug.cgi?id=40954>. Do we need both
> responseBody and responseArrayBuffer?
>
> - WBR, Alexey Proskuryakov
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100924/7a1eb69b/attachment.html>


More information about the webkit-dev mailing list