Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / resources / isindex-with-no-form-base-href-submit.html
blob019bdfaceb17406206ecf343ae0858c5483214f8
1 <html>
2 <head>
3 <script>
4 function test()
6 var expected = "?This+is+a+test";
7 if (location.search != expected)
8 log("FAIL: Expected \"" + expected + "\" but got \"" + location.search + "\"");
9 else
10 log("PASS");
13 function log(msg)
15 document.getElementById("log").appendChild(document.createTextNode(msg + "\n"));
18 window.onload = test;
19 </script>
20 </head>
21 <body>
22 <pre id="log"></pre>
23 <script>
24 if (window.testRunner)
25 testRunner.notifyDone();
26 </script>
27 </body>
28 </html>