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

Side by Side Diff: LayoutTests/fast/html/imports/resources/child-frame-with-import.html

Issue 23933004: Add tests for imports in iframe (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 <head>
4 <script>
5 function importLoaded()
6 {
7 window.parent.titleText = target.import.querySelector('h1').innerHTML;
8 window.parent.shouldBe("titleText", "'Hello'");
9 window.parent.finishJSTest();
10 }
11 </script>
12 <link id="target", rel="import" href="hello.html" onload="importLoaded()">
13 </head>
14 <body>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698