summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/client-hints/accept-ch-stickiness/same-origin-subresource-redirect.https.html
blob: 8e687b58b1de8ce4e2707a8ccd2dcfae7905cd0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype html>
<meta name="timeout" content="long">
<title>Accept-CH Persistence test</title>
<body>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="resources/accept-ch-test.js"></script>

<script>
// Make sure a same origin subresource without an opt-in that gets redirected doesn't contain Client Hints.
const test_name = "same-origin subresource redirect with no opt-in";
verify_initial_state(echo, test_name);
verify_subresource_state("resources/accept-ch-and-redir.py?url=do-not-expect-received.py", test_name);
</script>
</body>
</html>