Index: LayoutTests/fast/dom/insertedIntoDocument-iframe.html |
diff --git a/LayoutTests/fast/dom/insertedIntoDocument-iframe.html b/LayoutTests/fast/dom/insertedIntoDocument-iframe.html |
index e22922fd4343a5e3d6c61c827c421f3fbafa15f3..5315b54e78b8a00ed2112828d8d71c91ad9af54a 100644 |
--- a/LayoutTests/fast/dom/insertedIntoDocument-iframe.html |
+++ b/LayoutTests/fast/dom/insertedIntoDocument-iframe.html |
@@ -22,9 +22,12 @@ window.onload = function() |
iframe = parent.firstChild; |
iframe.src = "javascript:top.document.body.removeChild(top.parent)"; |
- |
- document.body.appendChild(parent); |
+ setTimeout(testAndFinish, 0); |
+} |
+testAndFinish = function() |
+{ |
+ document.body.appendChild(parent); |
parent = iframe = null; |
gc(); |