Torne (Richard Coles) | 5c87bf8 | 2012-11-14 11:46:17 +0000 | [diff] [blame] | 1 | <body> |
2 | <p> | ||||
3 | Tests that <code>window.open()</code> does not interpret the missing URL | ||||
4 | argument as the literal string “undefined”. | ||||
5 | </p> | ||||
6 | <p> | ||||
7 | Click the Test button. A new window should open. To pass the test, the address | ||||
8 | bar of the new window should be empty. If it contains a URL (ending with “undefined”), WebKit failed the test. | ||||
9 | </p> | ||||
10 | <button onclick="window.open()">Test</button> | ||||
11 | </body> |