tor-browser

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

iframe-topics-attribute.tentative.https.html (713B)


      1 <!doctype html>
      2 <body>
      3  <script src=/resources/testharness.js></script>
      4  <script src=/resources/testharnessreport.js></script>
      5  <script src=/browsing-topics/resources/header-util.sub.js></script>
      6  <script>
      7    async_test(t => {
      8      test_topics_iframe_navigation_header(
      9          t, /*has_browsing_topics_attribute=*/false, /*is_same_origin=*/false,
     10          expect_topics_header_unavailable);
     11    }, 'test <iframe src=[url]></iframe>');
     12 
     13    async_test(t => {
     14      test_topics_iframe_navigation_header(
     15          t, /*has_browsing_topics_attribute=*/true, /*is_same_origin=*/false,
     16          expect_topics_header_available);
     17    }, 'test <iframe browsingtopics src=[url]></iframe>');
     18  </script>
     19 </body>