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..8304ec3e7194f19c0635de7a317dbd5a0ae705ef |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLScriptElement/resources/append-child-adopt-node-frame.html |
@@ -0,0 +1,17 @@ |
+<body> |
+<script> |
+function init() |
+{ |
+ document.createElement("canvas").getContext("webgl", null); |
+ var epilogue = document.createElement("script"); |
+ epilogue.src = "should-not-run.js"; |
+ document.body.appendChild(epilogue); |
+ window.top.document.adoptNode(document.documentElement); |
+ |
+ window.top.done(); |
+} |
+ |
+init(); |
+</script> |
+</body> |
+</html> |