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

Side by Side Diff: LayoutTests/fast/html/imports/xhr.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 <link id="master" rel="import" href="import-master.html"> 5 <link id="master" rel="import" href="import-master.html">
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 description("Ensure XHR document doesn't load imports"); 9 description("Ensure XHR document doesn't load imports");
10 window.jsTestIsAsync = true; 10 window.jsTestIsAsync = true;
11 11
12 var xhr = new XMLHttpRequest(); 12 var xhr = new XMLHttpRequest();
13 xhr.open("GET", "resources/root.html", true); 13 xhr.open("GET", "resources/root.html", true);
14 xhr.responseType = "document"; 14 xhr.responseType = "document";
15 xhr.onload = function(e) { 15 xhr.onload = function(e) {
16 link = xhr.response.head.querySelector("#hello"); 16 link = xhr.response.head.querySelector("#hello");
17 shouldBeNull("link.import"); 17 shouldBeNull("link.import");
18 finishJSTest(); 18 finishJSTest();
19 } 19 }
20 20
21 xhr.send(); 21 xhr.send();
22 22
23 </script> 23 </script>
24 <script src="../../js/resources/js-test-post.js"></script>
25 </body> 24 </body>
26 </html> 25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/imports/sub-imports-onload.html ('k') | LayoutTests/fast/html/input-type-change-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698