Index: LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-frame.html |
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-frame.html b/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-frame.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e444307c950840d8cfb45cbb1db67536b00d13be |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-frame.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<script> |
+function init() |
+{ |
+ var script = document.createElement("script"); |
+ script.src = "should-load.js"; |
+ document.body.appendChild(script); |
+ window.top.document.adoptNode(document.documentElement); |
+ |
+ window.top.done(); |
+} |
+ |
+init(); |
+</script> |
+</body> |
+</html> |