blob: 2f725d5d9d69a499c2567bd6c4bbbb4a8d00ba95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<body>
<p>
Tests that <code>window.open()</code> does not interpret the missing URL
argument as the literal string “undefined”.
</p>
<p>
Click the Test button. A new window should open. To pass the test, the address
bar of the new window should be empty. If it contains a URL (ending with “undefined”), WebKit failed the test.
</p>
<button onclick="window.open()">Test</button>
</body>
|