blob: bdb08ec11e2f9cfd6dd45b190742c745c96cb0ed [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
}
</script>
</head>
<body>
<p>
This test checks the origin referrer policy when navigating from an insecure
URL to a same-origin insecure URL. The test passes if the printed referrer is
http://127.0.0.1:8000/security/referrer-policy-origin-when-crossorigin-is-sameorigin.html
</p>
<iframe src="http://127.0.0.1:8000/security/resources/referrer-policy-start.html?origin-when-cross-origin"></iframe>
</body>
</html>