3 <meta http-equiv=
"content-type" content=
"text/html; charset=iso-8859-1">
4 <title>Regression test for bug
5291</title>
7 <form enctype=
"multipart/form-data" action=
"?" name=f
>
8 <input type=
"hidden" name=
"hidden" value=
"I am hidden">
9 <input type=
"submit" value=
"press me">
12 if (window
.testRunner
) {
13 testRunner
.dumpAsText();
14 testRunner
.waitUntilDone();
17 if (document
.URL
.substring(0, 4) == "file") {
19 if (document
.URL
.indexOf('?') == -1) {
25 if (document
.URL
.substring(document
.URL
.indexOf('?')+1, document
.URL
.length
) == "hidden=I+am+hidden")
26 document
.write("<p>Success</p>");
28 document
.write("<p>Failure</p>");
30 if (window
.testRunner
)
31 testRunner
.notifyDone();
36 document
.write("<p>This test doesn't work directly from bugzilla, please save it to a local file first.</p>");