-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArrayBufferView from TypedArray #12688
Comments
This could be a duplicate of Issue #10136. Fixing issue #10136 is getting more critical. Marked this as being blocked by #10136. |
This looks like a problem in Dartium's XHR send: We're not testing for ArrayBufferView at all. Given issue #10136, we should test for ArrayBufferView before we test for ArrayBuffer here. |
Taking a stab at this. Set owner to @vsmenon. |
Added this to the M7 milestone. |
Fixed here: https://codereview.chromium.org/22877041 Added Fixed label. |
When running the html/xhr_test test, I'm seeing a warning in the console:
ArrayBuffer is deprecated in XMLHttpRequest.send(). Use ArrayBufferView instead.
I converted the test from:
xhr.send(data);
to:
xhr.send(new Uint8List.view(data.buffer));
But still see the warning. What is the proper way to get an ArrayBufferView from a typed array?
The text was updated successfully, but these errors were encountered: