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

Side by Side Diff: LayoutTests/fast/html/imports/no-browsing-context.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 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("This ensures that @import doesn't work with headless documents.") 8 description("This ensures that @import doesn't work with headless documents.")
9 window.jsTestIsAsync = true; 9 window.jsTestIsAsync = true;
10 var xhr = new XMLHttpRequest(); 10 var xhr = new XMLHttpRequest();
11 xhr.open("GET", "resources/root.html"); 11 xhr.open("GET", "resources/root.html");
12 xhr.responseType = 'document'; 12 xhr.responseType = 'document';
13 xhr.send(null); 13 xhr.send(null);
14 xhr.onload = function() { 14 xhr.onload = function() {
15 shouldBeNull("xhr.response.getElementById('hello').import"); 15 shouldBeNull("xhr.response.getElementById('hello').import");
16 finishJSTest(); 16 finishJSTest();
17 }; 17 };
18 </script> 18 </script>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/imports/import-success-fail.html ('k') | LayoutTests/fast/html/imports/rel-import-to-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698