blob: 3d3914a2bda4701ccb886cbfcc89377c31c6dd43 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
const urlParams = new URLSearchParams(location.search);
const isSecureContext = urlParams.get("secure") == "1";
if (window.internals && !isSecureContext)
internals.markContextAsInsecure();
if (isSecureContext) {
let bc = new BroadcastChannel('non-secure-to-secure-context-navigation');
bc.postMessage(window.opener ? "has_opener" : "does_not_have_opener");
}
</script>
</body>
</html>