tor-browser

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

fetch.https.html (5300B)


      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-module"
     24              }
     25            ],
     26            "source_scheme": "https",
     27            "subresource": "fetch",
     28            "subresource_policy_deliveries": [],
     29            "test_description": "Mixed-Content: Expects allowed for fetch 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-module"
     39              }
     40            ],
     41            "source_scheme": "https",
     42            "subresource": "fetch",
     43            "subresource_policy_deliveries": [],
     44            "test_description": "Mixed-Content: Expects allowed for fetch to same-https origin and no-redirect redirection from https context."
     45          },
     46          {
     47            "expectation": "blocked",
     48            "origin": "cross-http",
     49            "redirection": "keep-scheme",
     50            "source_context_list": [
     51              {
     52                "policyDeliveries": [],
     53                "sourceContextType": "worker-module"
     54              }
     55            ],
     56            "source_scheme": "https",
     57            "subresource": "fetch",
     58            "subresource_policy_deliveries": [],
     59            "test_description": "Mixed-Content: Expects blocked for fetch to cross-http origin and keep-scheme redirection from https context."
     60          },
     61          {
     62            "expectation": "blocked",
     63            "origin": "cross-http",
     64            "redirection": "no-redirect",
     65            "source_context_list": [
     66              {
     67                "policyDeliveries": [],
     68                "sourceContextType": "worker-module"
     69              }
     70            ],
     71            "source_scheme": "https",
     72            "subresource": "fetch",
     73            "subresource_policy_deliveries": [],
     74            "test_description": "Mixed-Content: Expects blocked for fetch to cross-http origin and no-redirect redirection from https context."
     75          },
     76          {
     77            "expectation": "blocked",
     78            "origin": "cross-http",
     79            "redirection": "swap-scheme",
     80            "source_context_list": [
     81              {
     82                "policyDeliveries": [],
     83                "sourceContextType": "worker-module"
     84              }
     85            ],
     86            "source_scheme": "https",
     87            "subresource": "fetch",
     88            "subresource_policy_deliveries": [],
     89            "test_description": "Mixed-Content: Expects blocked for fetch to cross-http origin and swap-scheme redirection from https context."
     90          },
     91          {
     92            "expectation": "blocked",
     93            "origin": "same-http",
     94            "redirection": "keep-scheme",
     95            "source_context_list": [
     96              {
     97                "policyDeliveries": [],
     98                "sourceContextType": "worker-module"
     99              }
    100            ],
    101            "source_scheme": "https",
    102            "subresource": "fetch",
    103            "subresource_policy_deliveries": [],
    104            "test_description": "Mixed-Content: Expects blocked for fetch to same-http origin and keep-scheme redirection from https context."
    105          },
    106          {
    107            "expectation": "blocked",
    108            "origin": "same-http",
    109            "redirection": "no-redirect",
    110            "source_context_list": [
    111              {
    112                "policyDeliveries": [],
    113                "sourceContextType": "worker-module"
    114              }
    115            ],
    116            "source_scheme": "https",
    117            "subresource": "fetch",
    118            "subresource_policy_deliveries": [],
    119            "test_description": "Mixed-Content: Expects blocked for fetch to same-http origin and no-redirect redirection from https context."
    120          },
    121          {
    122            "expectation": "blocked",
    123            "origin": "same-http",
    124            "redirection": "swap-scheme",
    125            "source_context_list": [
    126              {
    127                "policyDeliveries": [],
    128                "sourceContextType": "worker-module"
    129              }
    130            ],
    131            "source_scheme": "https",
    132            "subresource": "fetch",
    133            "subresource_policy_deliveries": [],
    134            "test_description": "Mixed-Content: Expects blocked for fetch to same-http origin and swap-scheme redirection from https context."
    135          }
    136        ],
    137        new SanityChecker()
    138      ).start();
    139    </script>
    140    <div id="log"></div>
    141  </body>
    142 </html>