Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

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