Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /client-hints/accept-ch-stickiness/same-origin-navigation-redirect.https.html - WPT Dashboard Interop Dashboard
<!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>
// This is similar to accept-ch-test.js tests, except setting and checking
// header here are a single step, connected via redirect.
const test_name = "redirect on navigation";
verify_initial_state(echo, test_name);
verify_navigation_state("resources/accept-ch-and-redir.py?url=expect-received.py", test_name);
</script>
</body>
</html>