tor-browser

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

sharedworker-module.https.html (2538B)


      1 <!DOCTYPE html>
      2 <!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
      3 <html>
      4  <head>
      5    <meta charset="utf-8">
      6    <meta name="timeout" content="long">
      7    <script src="/resources/testharness.js"></script>
      8    <script src="/resources/testharnessreport.js"></script>
      9    <script src="/common/security-features/resources/common.sub.js"></script>
     10    <script src="../../../generic/test-case.sub.js"></script>
     11  </head>
     12  <body>
     13    <script>
     14      TestCase(
     15        [
     16          {
     17            "expectation": "blocked",
     18            "origin": "same-http-downgrade",
     19            "redirection": "downgrade",
     20            "source_context_list": [
     21              {
     22                "policyDeliveries": [],
     23                "sourceContextType": "iframe-blank"
     24              }
     25            ],
     26            "source_scheme": "https",
     27            "subresource": "sharedworker-module",
     28            "subresource_policy_deliveries": [],
     29            "test_description": "Upgrade-Insecure-Requests: Expects blocked for sharedworker-module to same-http-downgrade origin and downgrade redirection from https context."
     30          },
     31          {
     32            "expectation": "blocked",
     33            "origin": "same-http-downgrade",
     34            "redirection": "no-redirect",
     35            "source_context_list": [
     36              {
     37                "policyDeliveries": [],
     38                "sourceContextType": "iframe-blank"
     39              }
     40            ],
     41            "source_scheme": "https",
     42            "subresource": "sharedworker-module",
     43            "subresource_policy_deliveries": [],
     44            "test_description": "Upgrade-Insecure-Requests: Expects blocked for sharedworker-module to same-http-downgrade origin and no-redirect redirection from https context."
     45          },
     46          {
     47            "expectation": "blocked",
     48            "origin": "same-https",
     49            "redirection": "downgrade",
     50            "source_context_list": [
     51              {
     52                "policyDeliveries": [],
     53                "sourceContextType": "iframe-blank"
     54              }
     55            ],
     56            "source_scheme": "https",
     57            "subresource": "sharedworker-module",
     58            "subresource_policy_deliveries": [],
     59            "test_description": "Upgrade-Insecure-Requests: Expects blocked for sharedworker-module to same-https origin and downgrade redirection from https context."
     60          }
     61        ],
     62        new SanityChecker()
     63      ).start();
     64    </script>
     65    <div id="log"></div>
     66  </body>
     67 </html>