Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 2 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /fetch/fetch-later/headers/header-referrer-origin-when-cross-origin.tentative.https.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html>
<head>
<title>FetchLater Referrer Header: Origin When Cross Origin Policy</title>
<meta name='referrer' content='origin-when-cross-origin'>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/utils.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="/fetch/fetch-later/resources/header-referrer-helper.js"></script>
</head>
<body>
<script>
const {
HTTPS_ORIGIN,
HTTPS_REMOTE_ORIGIN
} = get_host_info();
testReferrerHeader(token(), HTTPS_ORIGIN, REFERRER_URL);
testReferrerHeader(token(), HTTPS_REMOTE_ORIGIN, REFERRER_ORIGIN);
</script>
</body>
</html>