tor-browser

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

prefetch-no-csp.html (533B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <script src='/resources/testharness.js'></script>
      5  <script src='/resources/testharnessreport.js'></script>
      6  <script src='/common/utils.js'></script>
      7  <script src='/content-security-policy/support/testharness-helper.js'></script>
      8  <script src='/content-security-policy/support/prefetch-helper.js'></script>
      9  <script>
     10    promise_test(async t => {
     11      assert_true(await try_to_prefetch("/common/dummy.xml", t));
     12    }, 'Prefetch succeeds when no CSP');
     13  </script>
     14 </head>
     15 <body>
     16 </body>
     17 </html>