chromium/third_party/blink/web_tests/http/tests/misc/resources/isindex-with-no-form-base-href-submit.html

<html>
<head>
<script>
function test()
{
    var expected = "?This+is+a+test";
    if (location.search != expected)
        log("FAIL: Expected \"" + expected + "\" but got \"" + location.search + "\"");
    else
        log("PASS");
}

function log(msg)
{
    document.getElementById("log").appendChild(document.createTextNode(msg + "\n"));
}

window.onload = test;
</script>
</head>
<body>
<pre id="log"></pre>
<script>
if (window.testRunner)
    testRunner.notifyDone();
</script>
</body>
</html>