--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/WebCore/manual-tests/open-after-close.html Fri Sep 17 09:02:29 2010 +0300
@@ -0,0 +1,16 @@
+<html>
+<script>
+ var url = "resources/open-after-close-popup.html";
+
+ function test() {
+ var w = window.open(url, 'popup', "height=200, width=200, top=100, left=100");
+ w.close();
+ window.open(url, 'popup', "height=200, width=200, top=100, left=100");
+ }
+</script>
+<body onload="test()">
+<p>This test checks for a regression against rdar://problem/3572585: window.open fails if name param = the name of a window just closed in same function.</p>
+<p>If the test passes, you will see a "PASS" message open in a new window.</p>
+<hr>
+</body>
+</html>