tor-browser

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

fetch.http.html (6448B)


      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    <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": "omitted",
     18            "origin": "cross-http",
     19            "redirection": "keep-origin",
     20            "source_context_list": [
     21              {
     22                "policyDeliveries": [],
     23                "sourceContextType": "srcdoc"
     24              }
     25            ],
     26            "source_scheme": "http",
     27            "subresource": "fetch",
     28            "subresource_policy_deliveries": [],
     29            "test_description": "Referrer Policy: Expects omitted for fetch to cross-http origin and keep-origin redirection from http context."
     30          },
     31          {
     32            "expectation": "omitted",
     33            "origin": "cross-http",
     34            "redirection": "no-redirect",
     35            "source_context_list": [
     36              {
     37                "policyDeliveries": [],
     38                "sourceContextType": "srcdoc"
     39              }
     40            ],
     41            "source_scheme": "http",
     42            "subresource": "fetch",
     43            "subresource_policy_deliveries": [],
     44            "test_description": "Referrer Policy: Expects omitted for fetch to cross-http origin and no-redirect redirection from http context."
     45          },
     46          {
     47            "expectation": "omitted",
     48            "origin": "cross-http",
     49            "redirection": "swap-origin",
     50            "source_context_list": [
     51              {
     52                "policyDeliveries": [],
     53                "sourceContextType": "srcdoc"
     54              }
     55            ],
     56            "source_scheme": "http",
     57            "subresource": "fetch",
     58            "subresource_policy_deliveries": [],
     59            "test_description": "Referrer Policy: Expects omitted for fetch to cross-http origin and swap-origin redirection from http context."
     60          },
     61          {
     62            "expectation": "omitted",
     63            "origin": "cross-https",
     64            "redirection": "keep-origin",
     65            "source_context_list": [
     66              {
     67                "policyDeliveries": [],
     68                "sourceContextType": "srcdoc"
     69              }
     70            ],
     71            "source_scheme": "http",
     72            "subresource": "fetch",
     73            "subresource_policy_deliveries": [],
     74            "test_description": "Referrer Policy: Expects omitted for fetch to cross-https origin and keep-origin redirection from http context."
     75          },
     76          {
     77            "expectation": "omitted",
     78            "origin": "cross-https",
     79            "redirection": "no-redirect",
     80            "source_context_list": [
     81              {
     82                "policyDeliveries": [],
     83                "sourceContextType": "srcdoc"
     84              }
     85            ],
     86            "source_scheme": "http",
     87            "subresource": "fetch",
     88            "subresource_policy_deliveries": [],
     89            "test_description": "Referrer Policy: Expects omitted for fetch to cross-https origin and no-redirect redirection from http context."
     90          },
     91          {
     92            "expectation": "omitted",
     93            "origin": "cross-https",
     94            "redirection": "swap-origin",
     95            "source_context_list": [
     96              {
     97                "policyDeliveries": [],
     98                "sourceContextType": "srcdoc"
     99              }
    100            ],
    101            "source_scheme": "http",
    102            "subresource": "fetch",
    103            "subresource_policy_deliveries": [],
    104            "test_description": "Referrer Policy: Expects omitted for fetch to cross-https origin and swap-origin redirection from http context."
    105          },
    106          {
    107            "expectation": "omitted",
    108            "origin": "same-http",
    109            "redirection": "swap-origin",
    110            "source_context_list": [
    111              {
    112                "policyDeliveries": [],
    113                "sourceContextType": "srcdoc"
    114              }
    115            ],
    116            "source_scheme": "http",
    117            "subresource": "fetch",
    118            "subresource_policy_deliveries": [],
    119            "test_description": "Referrer Policy: Expects omitted for fetch to same-http origin and swap-origin redirection from http context."
    120          },
    121          {
    122            "expectation": "omitted",
    123            "origin": "same-https",
    124            "redirection": "swap-origin",
    125            "source_context_list": [
    126              {
    127                "policyDeliveries": [],
    128                "sourceContextType": "srcdoc"
    129              }
    130            ],
    131            "source_scheme": "http",
    132            "subresource": "fetch",
    133            "subresource_policy_deliveries": [],
    134            "test_description": "Referrer Policy: Expects omitted for fetch to same-https origin and swap-origin redirection from http context."
    135          },
    136          {
    137            "expectation": "stripped-referrer",
    138            "origin": "same-http",
    139            "redirection": "keep-origin",
    140            "source_context_list": [
    141              {
    142                "policyDeliveries": [],
    143                "sourceContextType": "srcdoc"
    144              }
    145            ],
    146            "source_scheme": "http",
    147            "subresource": "fetch",
    148            "subresource_policy_deliveries": [],
    149            "test_description": "Referrer Policy: Expects stripped-referrer for fetch to same-http origin and keep-origin redirection from http context."
    150          },
    151          {
    152            "expectation": "stripped-referrer",
    153            "origin": "same-http",
    154            "redirection": "no-redirect",
    155            "source_context_list": [
    156              {
    157                "policyDeliveries": [],
    158                "sourceContextType": "srcdoc"
    159              }
    160            ],
    161            "source_scheme": "http",
    162            "subresource": "fetch",
    163            "subresource_policy_deliveries": [],
    164            "test_description": "Referrer Policy: Expects stripped-referrer for fetch to same-http origin and no-redirect redirection from http context."
    165          }
    166        ],
    167        new SanityChecker()
    168      ).start();
    169    </script>
    170    <div id="log"></div>
    171  </body>
    172 </html>