WebCore/manual-tests/open-url-undefined.html
changeset 0 4f2f89ce4247
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebCore/manual-tests/open-url-undefined.html	Fri Sep 17 09:02:29 2010 +0300
@@ -0,0 +1,11 @@
+<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>