Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / form-get-multipart2.html
blob8758392ef879b2217ed3fc6ee651c7cd79346e37
1 <html>
2 <head>
3 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
4 <title>Regression test for bug 5291</title>
5 </head>
6 <body>
7 <form method="get" enctype="multipart/form-data" action="?" name=f>
8 <input type="hidden" name="hidden" value="I am hidden">
9 <input type="submit" value="press me">
10 </form>
11 <script>
12 if (window.testRunner) {
13 testRunner.dumpAsText();
14 testRunner.waitUntilDone();
17 if (document.URL.substring(0, 4) == "file") {
19 if (document.URL.indexOf('?') == -1) {
21 document.f.submit();
23 } else {
25 if (document.URL.substring(document.URL.indexOf('?')+1, document.URL.length) == "hidden=I+am+hidden")
26 document.write("<p>Success</p>");
27 else
28 document.write("<p>Failure</p>");
30 if (window.testRunner)
31 testRunner.notifyDone();
34 } else {
36 document.write("<p>This test doesn't work directly from bugzilla, please save it to a local file first.</p>");
38 </script>
39 </body>
40 </html>