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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responseXML-html-no-responsetype.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 the XMLHttpRequest responseXML loading an HTML d ocument with no specified responseType.'); 6 description('This tests the XMLHttpRequest responseXML loading an HTML d ocument with no specified responseType.');
7 7
8 window.jsTestIsAsync = true; 8 window.jsTestIsAsync = true;
9 var xhr = new XMLHttpRequest(), 9 var xhr = new XMLHttpRequest(),
10 url = window.location.href; 10 url = window.location.href;
11 xhr.onload = function() { 11 xhr.onload = function() {
12 shouldBeNull('xhr.responseXML'); 12 shouldBeNull('xhr.responseXML');
13 finishJSTest(); 13 finishJSTest();
14 }; 14 };
15 xhr.onerror = function() { 15 xhr.onerror = function() {
16 testFailed('The XHR request to an existing resource failed: "' + url + '"'); 16 testFailed('The XHR request to an existing resource failed: "' + url + '"');
17 finishJSTest(); 17 finishJSTest();
18 }; 18 };
19 xhr.open('GET', url); 19 xhr.open('GET', url);
20 xhr.send(null); 20 xhr.send(null);
21 </script> 21 </script>
22 </head> 22 </head>
23 <body> 23 <body>
24 <div id="description"></div> 24 <div id="description"></div>
25 <div id="console"></div> 25 <div id="console"></div>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698