Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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>