tor-browser

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

fetch-without-topics-flag.tentative.https.html (506B)


      1 <!doctype html>
      2 <body>
      3  <script src=/resources/testharness.js></script>
      4  <script src=/resources/testharnessreport.js></script>
      5  <script>
      6    promise_test(async t => {
      7      let response = await fetch('./resources/check-topics-request-header.py');
      8      let topics_header = await response.text();
      9 
     10      // The request was not eligible for topics, as the `browsingTopics` flag
     11      // was not set.
     12      assert_equals(topics_header, "NO_TOPICS_HEADER");
     13    }, 'test fetch(<url>)');
     14  </script>
     15 </body>