blob: 101c9f8d6b6a4f05cff491c828d52f93193c742c [file] [log] [blame]
<!DOCTYPE html>
<body>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
if (location.hash === "")
window.location = window.location.href.replace("file:///", "file://example.org/") + "?test#test-host";
else if (location.hash === "#test")
window.location = window.location.href.replace("file://example.org/", "file:///").replace("?test#test-host", "") + "?test2#test-host" + window.location.host;
else {
document.body.innerHTML = window.location.hash === "#test-host" ? "PASS": ("FAIL, got: " + window.location.hash);
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</body>