tor-browser

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

sharedworker-import.https.html (4408B)


      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": "cross-http-downgrade",
     19            "redirection": "downgrade",
     20            "source_context_list": [
     21              {
     22                "policyDeliveries": [],
     23                "sourceContextType": "srcdoc"
     24              }
     25            ],
     26            "source_scheme": "https",
     27            "subresource": "sharedworker-import",
     28            "subresource_policy_deliveries": [],
     29            "test_description": "Upgrade-Insecure-Requests: Expects blocked for sharedworker-import to cross-http-downgrade origin and downgrade redirection from https context."
     30          },
     31          {
     32            "expectation": "blocked",
     33            "origin": "cross-http-downgrade",
     34            "redirection": "no-redirect",
     35            "source_context_list": [
     36              {
     37                "policyDeliveries": [],
     38                "sourceContextType": "srcdoc"
     39              }
     40            ],
     41            "source_scheme": "https",
     42            "subresource": "sharedworker-import",
     43            "subresource_policy_deliveries": [],
     44            "test_description": "Upgrade-Insecure-Requests: Expects blocked for sharedworker-import to cross-http-downgrade origin and no-redirect redirection from https context."
     45          },
     46          {
     47            "expectation": "blocked",
     48            "origin": "cross-https",
     49            "redirection": "downgrade",
     50            "source_context_list": [
     51              {
     52                "policyDeliveries": [],
     53                "sourceContextType": "srcdoc"
     54              }
     55            ],
     56            "source_scheme": "https",
     57            "subresource": "sharedworker-import",
     58            "subresource_policy_deliveries": [],
     59            "test_description": "Upgrade-Insecure-Requests: Expects blocked for sharedworker-import to cross-https origin and downgrade redirection from https context."
     60          },
     61          {
     62            "expectation": "blocked",
     63            "origin": "same-http-downgrade",
     64            "redirection": "downgrade",
     65            "source_context_list": [
     66              {
     67                "policyDeliveries": [],
     68                "sourceContextType": "srcdoc"
     69              }
     70            ],
     71            "source_scheme": "https",
     72            "subresource": "sharedworker-import",
     73            "subresource_policy_deliveries": [],
     74            "test_description": "Upgrade-Insecure-Requests: Expects blocked for sharedworker-import to same-http-downgrade origin and downgrade redirection from https context."
     75          },
     76          {
     77            "expectation": "blocked",
     78            "origin": "same-http-downgrade",
     79            "redirection": "no-redirect",
     80            "source_context_list": [
     81              {
     82                "policyDeliveries": [],
     83                "sourceContextType": "srcdoc"
     84              }
     85            ],
     86            "source_scheme": "https",
     87            "subresource": "sharedworker-import",
     88            "subresource_policy_deliveries": [],
     89            "test_description": "Upgrade-Insecure-Requests: Expects blocked for sharedworker-import to same-http-downgrade origin and no-redirect redirection from https context."
     90          },
     91          {
     92            "expectation": "blocked",
     93            "origin": "same-https",
     94            "redirection": "downgrade",
     95            "source_context_list": [
     96              {
     97                "policyDeliveries": [],
     98                "sourceContextType": "srcdoc"
     99              }
    100            ],
    101            "source_scheme": "https",
    102            "subresource": "sharedworker-import",
    103            "subresource_policy_deliveries": [],
    104            "test_description": "Upgrade-Insecure-Requests: Expects blocked for sharedworker-import to same-https origin and downgrade redirection from https context."
    105          }
    106        ],
    107        new SanityChecker()
    108      ).start();
    109    </script>
    110    <div id="log"></div>
    111  </body>
    112 </html>