Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / forms / submit-with-base.html
1 <head>
2 <base href="http://www.366.ru/">
3 </head>
4 <p>
5     Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=19884">bug 19884</a></i>
6     Locating a store at www.366.ru doesn't work.
7 </p>
8 <p id="result">FAIL</p>
9 <hr>
10 <form id="t" action="" onsubmit="return true"><input name=a value=b></form>
11 <script>
12     if (!location.href.match('\\?')) {
13         if (window.testRunner) {
14             testRunner.dumpAsText();
15             testRunner.waitUntilDone();
16         }
17         document.getElementById("t").submit();
18     } else {
19         document.getElementById("result").innerHTML = "PASS";
20         if (window.testRunner)
21             testRunner.notifyDone();
22     }
23 </script>