Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>Request URL Modifiers: referrerpolicy(no-referrer)</title>
<link rel="author" title="Sam Weinig" href="mailto:weinig@webkit.org">
<link rel="match" href="../../url-image-ref.html">
<meta name="assert" content="A same origin url with the request URL modifier referrerpolicy(no-referrer) sends the appropriate referrer header.">
<script src="../../support/image-referrerpolicy.sub.js"></script>
<script>
test_image_referrer_policy({ load_type:`same-origin`, referrer_policy:`no-referrer`, expected_referrer:`none`});
</script>
</head>
<body>
<p>Test passes if there is a green square.</p>
<div class="test"></div>
</body>
</html>