Index: LayoutTests/http/tests/misc/reentrant-beforeunload.html |
diff --git a/LayoutTests/http/tests/misc/reentrant-beforeunload.html b/LayoutTests/http/tests/misc/reentrant-beforeunload.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fb5acd5abd0e2c83c84de2f494859299c9e0be62 |
--- /dev/null |
+++ b/LayoutTests/http/tests/misc/reentrant-beforeunload.html |
@@ -0,0 +1,20 @@ |
+<html> |
+<body> |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+ testRunner.setCanOpenWindows(); |
+} |
+ |
+var w = window.open("resources/reentrant-beforeunload-helper.html"); |
+w.onload = function() { |
+ setTimeout(function() { |
+ w.close(); |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }, 0); |
+}; |
+</script> |
+</body> |
+</html> |