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

Side by Side Diff: LayoutTests/fast/html/imports/import-success-fail.html

Issue 15856002: First step of HTMLImports (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Mac build Created 7 years, 6 months 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <script src="../../js/resources/js-test-pre.js"></script>
4 <head>
5 <link id="toSuccess" rel="import" href="resources/hello.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">
8 </head>
9 <body>
10 <script>
11 shouldBe("toSuccess.import.querySelector('h1').innerHTML", "'Hello'");
12 shouldBeNonNull("toSuccess.import.querySelector('html')");
13 shouldBeNull("toFail.import");
14 shouldBeNull("notImport.import");
15 </script>
16 <script src="../../js/resources/js-test-post.js"></script>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698