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

Side by Side Diff: LayoutTests/fast/html/imports/import-async-shared.html

Issue 265453003: HTML Imports: Let dynamically-added imports sync. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing. Created 6 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 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <link id="harness" rel="import" href="resources/async-child.html">
6 </head>
7 <body>
8 <script>
9 description("This test ensures that de-duped import can be dynamically added.");
10
11 window.jsTestIsAsync = true;
12
13 var linkEl = document.createElement("link");
14 linkEl.setAttribute("rel", "import");
15 linkEl.setAttribute("href", "resources/async-child.html");
16 document.head.appendChild(linkEl);
17 linkEl.onload = function(evt) {
18 shouldBe("linkEl.import", "harness.import");
19 finishJSTest();
20 };
21
22 </script>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698