Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / open-url-undefined.html
blob2f725d5d9d69a499c2567bd6c4bbbb4a8d00ba95
1 <body>
2 <p>
3 Tests that <code>window.open()</code> does not interpret the missing URL
4 argument as the literal string &ldquo;undefined&rdquo;.
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 &ldquo;undefined&rdquo;), WebKit failed the test.
9 </p>
10 <button onclick="window.open()">Test</button>
11 </body>