tor-browser

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

worker-classic.https.html (3038B)


      1 <!DOCTYPE html>
      2 <!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec mixed-content/` -->
      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": "allowed",
     18            "origin": "same-https",
     19            "redirection": "keep-scheme",
     20            "source_context_list": [
     21              {
     22                "policyDeliveries": [],
     23                "sourceContextType": "worker-classic"
     24              }
     25            ],
     26            "source_scheme": "https",
     27            "subresource": "worker-classic",
     28            "subresource_policy_deliveries": [],
     29            "test_description": "Mixed-Content: Expects allowed for worker-classic to same-https origin and keep-scheme redirection from https context."
     30          },
     31          {
     32            "expectation": "allowed",
     33            "origin": "same-https",
     34            "redirection": "no-redirect",
     35            "source_context_list": [
     36              {
     37                "policyDeliveries": [],
     38                "sourceContextType": "worker-classic"
     39              }
     40            ],
     41            "source_scheme": "https",
     42            "subresource": "worker-classic",
     43            "subresource_policy_deliveries": [],
     44            "test_description": "Mixed-Content: Expects allowed for worker-classic to same-https origin and no-redirect redirection from https context."
     45          },
     46          {
     47            "expectation": "blocked",
     48            "origin": "same-http",
     49            "redirection": "keep-scheme",
     50            "source_context_list": [
     51              {
     52                "policyDeliveries": [],
     53                "sourceContextType": "worker-classic"
     54              }
     55            ],
     56            "source_scheme": "https",
     57            "subresource": "worker-classic",
     58            "subresource_policy_deliveries": [],
     59            "test_description": "Mixed-Content: Expects blocked for worker-classic to same-http origin and keep-scheme redirection from https context."
     60          },
     61          {
     62            "expectation": "blocked",
     63            "origin": "same-http",
     64            "redirection": "no-redirect",
     65            "source_context_list": [
     66              {
     67                "policyDeliveries": [],
     68                "sourceContextType": "worker-classic"
     69              }
     70            ],
     71            "source_scheme": "https",
     72            "subresource": "worker-classic",
     73            "subresource_policy_deliveries": [],
     74            "test_description": "Mixed-Content: Expects blocked for worker-classic to same-http origin and no-redirect redirection from https context."
     75          }
     76        ],
     77        new SanityChecker()
     78      ).start();
     79    </script>
     80    <div id="log"></div>
     81  </body>
     82 </html>