tor-browser

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

worker-classic.https.html (3778B)


      1 <!DOCTYPE html>
      2 <!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec mixed-content/` -->
      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": "allowed",
     18            "origin": "same-https",
     19            "redirection": "keep-scheme",
     20            "source_context_list": [
     21              {
     22                "policyDeliveries": [
     23                  {
     24                    "deliveryType": "http-rp",
     25                    "key": "mixedContent",
     26                    "value": "opt-in"
     27                  }
     28                ],
     29                "sourceContextType": "worker-classic"
     30              }
     31            ],
     32            "source_scheme": "https",
     33            "subresource": "worker-classic",
     34            "subresource_policy_deliveries": [],
     35            "test_description": "Mixed-Content: Expects allowed for worker-classic to same-https origin and keep-scheme redirection from https context."
     36          },
     37          {
     38            "expectation": "allowed",
     39            "origin": "same-https",
     40            "redirection": "no-redirect",
     41            "source_context_list": [
     42              {
     43                "policyDeliveries": [
     44                  {
     45                    "deliveryType": "http-rp",
     46                    "key": "mixedContent",
     47                    "value": "opt-in"
     48                  }
     49                ],
     50                "sourceContextType": "worker-classic"
     51              }
     52            ],
     53            "source_scheme": "https",
     54            "subresource": "worker-classic",
     55            "subresource_policy_deliveries": [],
     56            "test_description": "Mixed-Content: Expects allowed for worker-classic to same-https origin and no-redirect redirection from https context."
     57          },
     58          {
     59            "expectation": "blocked",
     60            "origin": "same-http",
     61            "redirection": "keep-scheme",
     62            "source_context_list": [
     63              {
     64                "policyDeliveries": [
     65                  {
     66                    "deliveryType": "http-rp",
     67                    "key": "mixedContent",
     68                    "value": "opt-in"
     69                  }
     70                ],
     71                "sourceContextType": "worker-classic"
     72              }
     73            ],
     74            "source_scheme": "https",
     75            "subresource": "worker-classic",
     76            "subresource_policy_deliveries": [],
     77            "test_description": "Mixed-Content: Expects blocked for worker-classic to same-http origin and keep-scheme redirection from https context."
     78          },
     79          {
     80            "expectation": "blocked",
     81            "origin": "same-http",
     82            "redirection": "no-redirect",
     83            "source_context_list": [
     84              {
     85                "policyDeliveries": [
     86                  {
     87                    "deliveryType": "http-rp",
     88                    "key": "mixedContent",
     89                    "value": "opt-in"
     90                  }
     91                ],
     92                "sourceContextType": "worker-classic"
     93              }
     94            ],
     95            "source_scheme": "https",
     96            "subresource": "worker-classic",
     97            "subresource_policy_deliveries": [],
     98            "test_description": "Mixed-Content: Expects blocked for worker-classic to same-http origin and no-redirect redirection from https context."
     99          }
    100        ],
    101        new SanityChecker()
    102      ).start();
    103    </script>
    104    <div id="log"></div>
    105  </body>
    106 </html>