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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-responseXML-html-document-responsetype-quirks.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script> 4 <script>
5 description('This tests the XMLHttpRequest responseXML loading an HTML d ocument in Quirks Mode with responseType "document".'); 5 description('This tests the XMLHttpRequest responseXML loading an HTML d ocument in Quirks Mode with responseType "document".');
6 6
7 window.jsTestIsAsync = true; 7 window.jsTestIsAsync = true;
8 var xhr = new XMLHttpRequest(), 8 var xhr = new XMLHttpRequest(),
9 url = window.location.href, 9 url = window.location.href,
10 children; 10 children;
11 xhr.onload = function() { 11 xhr.onload = function() {
12 shouldBeNonNull('xhr.responseXML'); 12 shouldBeNonNull('xhr.responseXML');
13 shouldBeTrue('xhr.responseXML instanceof Document'); 13 shouldBeTrue('xhr.responseXML instanceof Document');
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 <script> 62 <script>
63 // This code will manipulate the first BR node by adding an "id" to it. 63 // This code will manipulate the first BR node by adding an "id" to it.
64 // This same BR will be inspected after XHR loads the document to see 64 // This same BR will be inspected after XHR loads the document to see
65 // if this script executed or not. If it didn't execute, the first BR 65 // if this script executed or not. If it didn't execute, the first BR
66 // will not have an "id" specified and the test passes. 66 // will not have an "id" specified and the test passes.
67 var br = document.querySelector('div#description + br'); 67 var br = document.querySelector('div#description + br');
68 br.id = 'break-tag'; 68 br.id = 'break-tag';
69 </script> 69 </script>
70 </body> 70 </body>
71 </html> 71 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698