blob: ba39ad47110eaab7ed2aec4f8957b46ddabed58c [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 + "#' + 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>