WebCore/manual-tests/open-url-undefined.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:32:07 +0300
changeset 2 303757a437d3
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037 Kit: 201039

<body>
    <p>
        Tests that <code>window.open()</code> does not interpret the missing URL
        argument as the literal string &ldquo;undefined&rdquo;.
    </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 &ldquo;undefined&rdquo;), WebKit failed the test.
    </p>
    <button onclick="window.open()">Test</button>
</body>