WebCore/manual-tests/open-after-close.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 09:07:27 +0300
branchRCL_3
changeset 1 9d347b658349
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037

<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>