3 <title>Submitting forms with empty data
</title>
6 <p>Test for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=8051">bug
8051</a>:
7 Empty forms are submitted incorrectly.
</p>
9 <form name=
"f" method=
"get" action=
"">
10 <input type=
"submit" value=
"Continue"/>
14 if (window
.testRunner
) {
15 testRunner
.dumpAsText();
16 testRunner
.waitUntilDone();
19 if (document
.URL
.indexOf('?') == -1) {
25 if (unescape(document
.URL
.substring(document
.URL
.indexOf('?')+1, document
.URL
.length
)) == "")
26 document
.write("<p>Success</p>");
28 document
.write("<p>Failure</p>");
30 if (window
.testRunner
)
31 testRunner
.notifyDone();