[Bug 16732] Use ArrayBufferView instead of ArrayBuffer in Blob constructor

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16732

--- Comment #2 from Simon Pieters <simonp@opera.com> 2012-04-16 04:58:09 UTC ---
The XHR discussion ended up replacing ArrayBuffer with ArrayBufferView for
send().

I think one argument is that authors may have a sliced view and then pass
.buffer and not realize that it contains the whole data, which results in buggy
code. If we support only ArrayBufferView, we prevent the buggy case from
happening (at the cost of making authors create a view).

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 16 April 2012 04:58:13 UTC