summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/client-hints/accept-ch-stickiness/same-origin-subresource-redirect-opted-in.https.html
blob: 66c0e57497f62ff2f9734988449998d25f3217c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!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 that gets redirected keeps the initial request's Client Hints.
const test_name = "same-origin subresource redirect with opt-in";
verify_subresource_state("resources/accept-ch-and-redir.py?url=expect-received.py", test_name);
</script>
</body>
</html>