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

Unified Diff: LayoutTests/http/tests/htmlimports/resources/having-dynamic-child.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, 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/htmlimports/resources/having-dynamic-child.html
diff --git a/LayoutTests/http/tests/htmlimports/resources/having-dynamic-child.html b/LayoutTests/http/tests/htmlimports/resources/having-dynamic-child.html
new file mode 100644
index 0000000000000000000000000000000000000000..61a8ae40b7008b9169d42d76cf48c04c4f15716f
--- /dev/null
+++ b/LayoutTests/http/tests/htmlimports/resources/having-dynamic-child.html
@@ -0,0 +1,10 @@
+<script>
+(function() {
+ var currentDocument = document.currentScript.ownerDocument;
+ var link = currentDocument.createElement('link');
+ link.id = 'dynamicLink'
+ link.rel = 'import';
+ link.href = 'import-slow-child.cgi';
+ currentDocument.head.appendChild(link);
+})();
+</script>

Powered by Google App Engine
This is Rietveld 408576698