tor-browser

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

worker-classic.https.html (1662B)


      1 <!DOCTYPE html>
      2 <!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec content-security-policy/` -->
      3 <html>
      4  <head>
      5    <meta charset="utf-8">
      6    <meta name="timeout" content="long">
      7    <meta http-equiv="Content-Security-Policy" content="worker-src 'none'">
      8    <script src="/resources/testharness.js"></script>
      9    <script src="/resources/testharnessreport.js"></script>
     10    <script src="/common/security-features/resources/common.sub.js"></script>
     11    <script src="../../../generic/test-case.sub.js"></script>
     12  </head>
     13  <body>
     14    <script>
     15      TestCase(
     16        [
     17          {
     18            "expectation": "blocked",
     19            "origin": "same-https",
     20            "redirection": "keep-origin",
     21            "source_context_list": [],
     22            "source_scheme": "https",
     23            "subresource": "worker-classic",
     24            "subresource_policy_deliveries": [],
     25            "test_description": "Content Security Policy: Expects blocked for worker-classic to same-https origin and keep-origin redirection from https context."
     26          },
     27          {
     28            "expectation": "blocked",
     29            "origin": "same-https",
     30            "redirection": "no-redirect",
     31            "source_context_list": [],
     32            "source_scheme": "https",
     33            "subresource": "worker-classic",
     34            "subresource_policy_deliveries": [],
     35            "test_description": "Content Security Policy: Expects blocked for worker-classic to same-https origin and no-redirect redirection from https context."
     36          }
     37        ],
     38        new SanityChecker()
     39      ).start();
     40    </script>
     41    <div id="log"></div>
     42  </body>
     43 </html>