summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/open-after-close.html
blob: 4fcf5d2390b68006629d3b3cd32b1bd0346c2aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>