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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received.html

Issue 58533003: Move fast/js/resources files to resources. (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="../../resources/js-test.js"></script>
5 <script> 5 <script>
6 description('This tests that the XMLHttpRequest responseType attribute i s modifiable in the HEADERS_RECEIVED state.'); 6 description('This tests that the XMLHttpRequest responseType attribute i s modifiable in the HEADERS_RECEIVED state.');
7 window.jsTestIsAsync = true; 7 window.jsTestIsAsync = true;
8 8
9 var xhr = new XMLHttpRequest(); 9 var xhr = new XMLHttpRequest();
10 xhr.open('GET', window.location.href); 10 xhr.open('GET', window.location.href);
11 xhr.onload = function() { 11 xhr.onload = function() {
12 shouldBeTrue('xhr.response === xhr.responseXML'); 12 shouldBeTrue('xhr.response === xhr.responseXML');
13 shouldBeEqualToString('xhr.responseType', 'document'); 13 shouldBeEqualToString('xhr.responseType', 'document');
14 finishJSTest(); 14 finishJSTest();
(...skipping 12 matching lines...) Expand all
27 } 27 }
28 }; 28 };
29 xhr.send(null); 29 xhr.send(null);
30 </script> 30 </script>
31 </head> 31 </head>
32 <body> 32 <body>
33 <div id="description"></div> 33 <div id="description"></div>
34 <div id="console"></div> 34 <div id="console"></div>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698