[webkit-dev] XHR responseArrayBuffer attribute
crogers at google.com
Fri Sep 24 20:39:07 PDT 2010
If we added xhr.asArrayBuffer, what would happen if xhr.asBlob was also set?
Don't we really want something like xhr.loadAsType with different enum
values for text, blob, array buffer, etc.?
On Fri, Sep 24, 2010 at 5:19 PM, Michael Nordman <michaeln at google.com>wrote:
> 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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev