tor-browser

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

worklet-layout.https.html (3646B)


      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    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
      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": "allowed",
     19            "origin": "cross-http-downgrade",
     20            "redirection": "downgrade",
     21            "source_context_list": [],
     22            "source_scheme": "https",
     23            "subresource": "worklet-layout",
     24            "subresource_policy_deliveries": [],
     25            "test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to cross-http-downgrade origin and downgrade redirection from https context."
     26          },
     27          {
     28            "expectation": "allowed",
     29            "origin": "cross-http-downgrade",
     30            "redirection": "no-redirect",
     31            "source_context_list": [],
     32            "source_scheme": "https",
     33            "subresource": "worklet-layout",
     34            "subresource_policy_deliveries": [],
     35            "test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to cross-http-downgrade origin and no-redirect redirection from https context."
     36          },
     37          {
     38            "expectation": "allowed",
     39            "origin": "cross-https",
     40            "redirection": "downgrade",
     41            "source_context_list": [],
     42            "source_scheme": "https",
     43            "subresource": "worklet-layout",
     44            "subresource_policy_deliveries": [],
     45            "test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to cross-https origin and downgrade redirection from https context."
     46          },
     47          {
     48            "expectation": "allowed",
     49            "origin": "same-http-downgrade",
     50            "redirection": "downgrade",
     51            "source_context_list": [],
     52            "source_scheme": "https",
     53            "subresource": "worklet-layout",
     54            "subresource_policy_deliveries": [],
     55            "test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to same-http-downgrade origin and downgrade redirection from https context."
     56          },
     57          {
     58            "expectation": "allowed",
     59            "origin": "same-http-downgrade",
     60            "redirection": "no-redirect",
     61            "source_context_list": [],
     62            "source_scheme": "https",
     63            "subresource": "worklet-layout",
     64            "subresource_policy_deliveries": [],
     65            "test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to same-http-downgrade origin and no-redirect redirection from https context."
     66          },
     67          {
     68            "expectation": "allowed",
     69            "origin": "same-https",
     70            "redirection": "downgrade",
     71            "source_context_list": [],
     72            "source_scheme": "https",
     73            "subresource": "worklet-layout",
     74            "subresource_policy_deliveries": [],
     75            "test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to same-https origin and downgrade redirection from https context."
     76          }
     77        ],
     78        new SanityChecker()
     79      ).start();
     80    </script>
     81    <div id="log"></div>
     82  </body>
     83 </html>