blob: 446e9d69cea95bc49c56c2efb755eb5fbb5e0c0f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/get-host-info.js"></script>
</head>
<body>
<map>
<area href="http://127.0.0.1:8000/security/resources/referrer-attr-anchor-target.html#no-referrer-when-downgrade"
referrerpolicy="no-referrer-when-downgrade" id="click-me">
</map>
<script>
if (window.location.origin != get_host_info().HTTPS_ORIGIN) {
window.location = get_host_info().HTTPS_ORIGIN + window.location.pathname;
} else {
document.getElementById("click-me").click();
}
</script>
</body>
</html>