same-origin-navigation-no-accept-ch.https.html (692B)
1 <!doctype html> 2 <meta name="timeout" content="long"> 3 <title>Accept-CH Persistence test</title> 4 <body> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/common/get-host-info.sub.js"></script> 8 <script src="resources/accept-ch-test.js"></script> 9 10 <script> 11 // Tests that a non-existing accept-ch header doesn't affect client hints. 12 const test_name = "empty-ch on navigation"; 13 verify_initial_state(echo, test_name); 14 attempt_set("navigation", accept, test_name, " to non-empty first"); 15 attempt_set("navigation", no_accept, test_name, " w/o header second"); 16 verify_navigation_state(expect, test_name); 17 </script> 18 </body> 19 </html>