Index: LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-frame.svg |
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-frame.svg b/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-frame.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9f4602c99b18af69dad8b9f24651f5fc37a2c4d7 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-frame.svg |
@@ -0,0 +1,14 @@ |
+<?xml version="1.0"?> |
+<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"> |
+<script> |
+function init() |
+{ |
+ var script = document.createElementNS("http://www.w3.org/2000/svg", "script"); |
+ script.setAttributeNS('http://www.w3.org/1999/xlink', 'href', "should-load.js"); |
+ document.documentElement.appendChild(script); |
+ window.top.document.adoptNode(document.documentElement); |
+ window.top.done(); |
+} |
+init(); |
+</script> |
+</svg> |