tor-browser

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

xhr.http.html (7559B)


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