Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / open-after-close.html
blob4fcf5d2390b68006629d3b3cd32b1bd0346c2aea
1 <html>
2 <script>
3 var url = "resources/open-after-close-popup.html";
5 function test() {
6 var w = window.open(url, 'popup', "height=200, width=200, top=100, left=100");
7 w.close();
8 window.open(url, 'popup', "height=200, width=200, top=100, left=100");
10 </script>
11 <body onload="test()">
12 <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>
13 <p>If the test passes, you will see a "PASS" message open in a new window.</p>
14 <hr>
15 </body>
16 </html>