blob: ffd9d8d2b4f6be88f6b6d02ddd8d551271dcb33d [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpAsText();
onload = function() {
history.pushState(null, null, "?foo");
if (location.search == "?foo") {
document.body.innerText = "PASS";
} else {
document.body.innerText = "FAIL: location.search is \'" + location.search + "\'";
}
}
</script>