blob: 30e7fd93dc4c6c99c05332e9ae42c7745891d867 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
function doTest()
{
if (window.location.hash === "") {
window.location = "data:text/html,<"+ "script>window.location = '" + window.location.href + "%23' + window.isSecureContext;<" + "/script>"
return;
}
onload = () => {
document.body.innerHTML = window.location.hash === "#false" ? "PASS" : ("FAIL: got " + window.location.hash);
if (window.testRunner)
testRunner.notifyDone();
};
}
doTest();
</script>