tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

same-origin-navigation-empty-accept-ch.https.html (688B)


      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 an empty accept-ch header disables 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", accept_blank, test_name, " to empty second");
     16 verify_navigation_state(do_not_expect, test_name);
     17 </script>
     18 </body>
     19 </html>