summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/fetch-later/headers/header-referrer-strict-origin-when-cross-origin.tentative.https.html
blob: 9133f2496fe0a88f7d7b5c896a67d5fcffe60089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!doctype html>
<html>
<head>
<title>FetchLater Referrer Header: Strict Origin Policy</title>
<meta name='referrer' content='strict-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_REMOTE_ORIGIN
} = get_host_info();

testReferrerHeader(token(), HTTPS_REMOTE_ORIGIN, REFERRER_ORIGIN);
// Note: FetchLater cannot be used for non-secure URL.

</script>
</body>
</html>