Index: LayoutTests/fast/parser/document-write-then-close.html |
diff --git a/LayoutTests/fast/parser/document-write-then-close.html b/LayoutTests/fast/parser/document-write-then-close.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..af817bf2c91e0f4c939192aaea91de75a01bcd7c |
--- /dev/null |
+++ b/LayoutTests/fast/parser/document-write-then-close.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<p>Cancelling a document.write()-inserted and blocking script shouldn't fail.</p> |
+<p>PASS if no crash.</p> |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.setCanOpenWindows(); |
+ testRunner.waitUntilDone(); |
+} |
+window.open("resources/document-write-then-close.html"); |
+</script> |