blob: 4fcf5d2390b68006629d3b3cd32b1bd0346c2aea [file] [log] [blame]
<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>