Index: LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html |
diff --git a/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html b/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html |
index a871b15c5fb72a510a946e4b50fbbb1b435e2795..8bd1643cacb3a0b16d21434da12e0d978a60ab76 100644 |
--- a/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html |
+++ b/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html |
@@ -1,6 +1,12 @@ |
<script> |
window.onload = function() { |
- document.getElementById("a").click(); |
+ setTimeout(function() { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }, 0); |
}; |
</script> |
<a id="a" href="notify-done.html" target="_top">Click here</a> |
+<script> |
+ document.getElementById("a").click(); |
+</script> |