blob: d446a96352e0440b6a37f2e5b12ff4386f8c2e61 [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://127.0.0.1:8000/referrer-policy/resources/check-referrer.py?expected=" + expected + "&policy=" + policy;
a.click();
}
</script>
</body>
</html>