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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responseXML-xml-text-responsetype.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 <script> 5 <script>
6 description('This tests the XMLHttpRequest responseXML loading an XML do cument with responseType "text".'); 6 description('This tests the XMLHttpRequest responseXML loading an XML do cument with responseType "text".');
7 7
8 window.jsTestIsAsync = true; 8 window.jsTestIsAsync = true;
9 var xhr = new XMLHttpRequest(), 9 var xhr = new XMLHttpRequest(),
10 url = 'resources/xmlhttprequest-get-data.xml', 10 url = 'resources/xmlhttprequest-get-data.xml',
11 id3; 11 id3;
12 xhr.onload = function() { 12 xhr.onload = function() {
13 shouldThrow('xhr.responseXML'); 13 shouldThrow('xhr.responseXML');
14 finishJSTest(); 14 finishJSTest();
15 }; 15 };
16 xhr.onerror = function() { 16 xhr.onerror = function() {
17 testFailed('The XHR request to an existing resource failed: "' + url + '"'); 17 testFailed('The XHR request to an existing resource failed: "' + url + '"');
18 finishJSTest(); 18 finishJSTest();
19 }; 19 };
20 xhr.open('GET', url); 20 xhr.open('GET', url);
21 xhr.responseType = 'text'; 21 xhr.responseType = 'text';
22 xhr.send(null); 22 xhr.send(null);
23 </script> 23 </script>
24 <script src="../js/resources/js-test-post.js"></script>
25 </head> 24 </head>
26 <body> 25 <body>
27 <div id="description"></div> 26 <div id="description"></div>
28 <div id="console"></div> 27 <div id="console"></div>
29 </body> 28 </body>
30 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698