tor-browser

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

fetch.http.html (6232B)


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