blob: 9c3a5929259a85e7d9730840bfd72736570367a2 [file] [log] [blame] [edit]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
</script>
</head>
<body>
<p>
This test checks the never referrer policy when navigating from a secure URL to
an insecure URL. The test passes if the printed referrer is empty.
</p>
<script>
onmessage = (event) => {
document.getElementById("log").innerText = event.data;
testRunner.notifyDone();
};
window.open("https://127.0.0.1:8443/security/resources/referrer-policy-start.html?never", "testPopup", "popup");
</script>
<div id="log"></div>
</body>
</html>