blob: 2bfda5fc9aee78aa34c4c0682ad4e8fff8838a21 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body onload="clickLink()">
<script>
if (window.testRunner)
testRunner.waitUntilDone();
function clickLink() {
// Should be the empty string
let expected = "";
let a = document.createElement("a");
let policy = "no-referrer";
a.referrerPolicy = policy;
a.href = "http://localhost:8000/referrer-policy/resources/check-referrer.php?expected=" + expected + "&policy=" + policy;
a.click();
}
</script>
</body>
</html>