vicki | 283e794 | 2005-08-16 04:42:44 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 | "http://www.w3.org/TR/html4/strict.dtd"> |
| 3 | <html lang="en"> |
| 4 | <head> |
| 5 | </head> |
| 6 | <body> |
weinig | b40471f | 2007-07-21 22:29:46 +0000 | [diff] [blame] | 7 | <p><b>BUG ID:</b> <a href="rdar://problem/4094363">rdar://problem/4094363</a> Can't re-open a window at capripalace.com website because "close" fails on already-closed window</p> |
vicki | 283e794 | 2005-08-16 04:42:44 +0000 | [diff] [blame] | 8 | |
| 9 | <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> |
| 10 | <ol> |
weinig | b40471f | 2007-07-21 22:29:46 +0000 | [diff] [blame] | 11 | <li>Click the link below </li> |
| 12 | <li>Close the window that opens </li> |
| 13 | <li>Click the link again </li> |
vicki | 283e794 | 2005-08-16 04:42:44 +0000 | [diff] [blame] | 14 | </ol> |
| 15 | </p> |
| 16 | |
| 17 | <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> |
| 18 | If the bug is fixed, a window WILL OPEN after Step #3. |
| 19 | </p> |
| 20 | |
| 21 | <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> |
| 22 | If the bug is not fixed, a window WILL NOT OPEN after Step #3. |
| 23 | </p> |
| 24 | |
| 25 | <script language="JavaScript"> |
| 26 | win = null; |
| 27 | function win_open() { |
| 28 | |
weinig | b40471f | 2007-07-21 22:29:46 +0000 | [diff] [blame] | 29 | if (win != null) { |
| 30 | win.close(); |
| 31 | } |
| 32 | win = window.open('about:blank'); |
vicki | 283e794 | 2005-08-16 04:42:44 +0000 | [diff] [blame] | 33 | } |
| 34 | </script> |
| 35 | |
| 36 | <a href="javascript:win_open();">Click this link</a> |
| 37 | |
| 38 | </body> |
| 39 | </html> |