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

Side by Side Diff: LayoutTests/fast/html/imports/import-success-fail.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 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../js/resources/js-test-pre.js"></script>
4 <head> 4 <head>
5 <link id="toSuccess" rel="import" href="resources/hello.html"> 5 <link id="toSuccess" rel="import" href="resources/hello.html">
6 <link id="toFail" rel="import" href="resources/no-such-file.html"> 6 <link id="toFail" rel="import" href="resources/no-such-file.html">
7 <link id="notImport" rel="stylesheet" href="resources/no-such-file.css"> 7 <link id="notImport" rel="stylesheet" href="resources/no-such-file.css">
8 </head> 8 </head>
9 <body> 9 <body>
10 <script> 10 <script>
11 shouldBe("toSuccess.import.querySelector('h1').innerHTML", "'Hello'"); 11 shouldBe("toSuccess.import.querySelector('h1').innerHTML", "'Hello'");
12 shouldBeNonNull("toSuccess.import.querySelector('html')"); 12 shouldBeNonNull("toSuccess.import.querySelector('html')");
13 shouldBeNull("toFail.import"); 13 shouldBeNull("toFail.import");
14 shouldBeNull("notImport.import"); 14 shouldBeNull("notImport.import");
15 </script> 15 </script>
16 <script src="../../js/resources/js-test-post.js"></script>
17 </body> 16 </body>
18 </html> 17 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/imports/import-script.html ('k') | LayoutTests/fast/html/imports/no-browsing-context.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698