Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/send-data-view.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <body>
3 Tests sending a data view.
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 var console_messages = document.createElement("ul");
9 document.body.appendChild(console_messages);
10
11 function log(message)
12 {
13 var item = document.createElement("li");
14 item.appendChild(document.createTextNode(message));
15 console_messages.appendChild(item);
16 }
17
18 var array = new Uint8Array([0, 1, 2, 48, 49, 50, 128, 129, 130, 253, 254, 255]);
19 var xhr = new XMLHttpRequest;
20 xhr.open("POST", "resources/post-echo-as-ascii.cgi", false);
21 xhr.send(new DataView(array.buffer));
22 log(xhr.responseText);
23 </script>
24 </body>
25 </html>
26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698