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 <micha...@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
> xhr.asArrayBuffer.
>
> On Fri, Sep 24, 2010 at 5:09 PM, Alexey Proskuryakov <a...@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@lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>
>
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to