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

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: Created 7 years, 7 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 </head>
8 <body>
9 <script>
10 shouldBe("toSuccess.import.querySelector('h1').innerHTML", "'Hello'");
11 shouldBeNonNull("toSuccess.import.querySelector('html')");
12 shouldBe("toFail.import", "null");
13 </script>
14 <script src="../../js/resources/js-test-post.js"></script>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698