summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/open-url-undefined.html
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests/open-url-undefined.html')
-rw-r--r--WebCore/manual-tests/open-url-undefined.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/WebCore/manual-tests/open-url-undefined.html b/WebCore/manual-tests/open-url-undefined.html
new file mode 100644
index 0000000..2f725d5
--- /dev/null
+++ b/WebCore/manual-tests/open-url-undefined.html
@@ -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>