tor-browser

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

worker-module.http.html (2230B)


      1 <!DOCTYPE html>
      2 <!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec referrer-policy/` -->
      3 <html>
      4  <head>
      5    <meta charset="utf-8">
      6    <meta name="timeout" content="long">
      7    <meta name="referrer" content="unsafe-url">
      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": "origin",
     19            "origin": "same-http",
     20            "redirection": "keep-origin",
     21            "source_context_list": [
     22              {
     23                "policyDeliveries": [
     24                  {
     25                    "deliveryType": "http-rp",
     26                    "key": "referrerPolicy",
     27                    "value": "origin"
     28                  }
     29                ],
     30                "sourceContextType": "iframe"
     31              }
     32            ],
     33            "source_scheme": "http",
     34            "subresource": "worker-module",
     35            "subresource_policy_deliveries": [],
     36            "test_description": "Referrer Policy: Expects origin for worker-module to same-http origin and keep-origin redirection from http context."
     37          },
     38          {
     39            "expectation": "origin",
     40            "origin": "same-http",
     41            "redirection": "no-redirect",
     42            "source_context_list": [
     43              {
     44                "policyDeliveries": [
     45                  {
     46                    "deliveryType": "http-rp",
     47                    "key": "referrerPolicy",
     48                    "value": "origin"
     49                  }
     50                ],
     51                "sourceContextType": "iframe"
     52              }
     53            ],
     54            "source_scheme": "http",
     55            "subresource": "worker-module",
     56            "subresource_policy_deliveries": [],
     57            "test_description": "Referrer Policy: Expects origin for worker-module to same-http origin and no-redirect redirection from http context."
     58          }
     59        ],
     60        new SanityChecker()
     61      ).start();
     62    </script>
     63    <div id="log"></div>
     64  </body>
     65 </html>