Index: LayoutTests/fast/parser/adoption-agency-crash-01.html |
diff --git a/LayoutTests/fast/parser/adoption-agency-crash-01.html b/LayoutTests/fast/parser/adoption-agency-crash-01.html |
index 641757133ae84816f1b8b756f8933171d74c5236..af69ec72b699f04e49dc4c2bdb98a8e5091c659b 100644 |
--- a/LayoutTests/fast/parser/adoption-agency-crash-01.html |
+++ b/LayoutTests/fast/parser/adoption-agency-crash-01.html |
@@ -2,5 +2,10 @@ |
if (window.testRunner) |
testRunner.dumpAsText(); |
-document.write('<a><p><iframe onload="document.write(\'<script>void(0)<\/script></a>\');"></iframe><script>document.body.innerHTML = \'PASS\';<\/script>'); |
+function finish() { |
+ document.write('<script>void(0)<\/script></a>'); |
+ document.close(); |
+}; |
+ |
+document.write('<a><p><iframe onload="document.open(); setTimeout(finish, 0);"></iframe><script>document.body.innerHTML = \'PASS\';<\/script>'); |
</script> |