tor-browser

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

__Host-Http.https.html (2070B)


      1 <!DOCTYPE html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 <script src="/cookies/resources/cookie-helper.sub.js"></script>
      5 <script>
      6  set_prefixed_cookie_via_dom_test({
      7    prefix: "__Host-Http-",
      8    params: "Secure; Path=/",
      9    shouldExistInDOM: false,
     10    shouldExistViaHTTP: false,
     11    title: "__Host-Http: Does not set via DOM 'Secure; Path=/'"
     12  });
     13 
     14  set_prefixed_cookie_via_dom_test({
     15    prefix: "__Host-Http-",
     16    params: "Secure; Path=/; Domain=" + document.location.hostname,
     17    shouldExistInDOM: false,
     18    shouldExistViaHTTP: false,
     19    title: "__Host-Http: Does not set via DOM with Domain attribute 'Secure; Path=/; Domain=" +
     20           document.location.hostname + "'"
     21  });
     22 
     23  set_prefixed_cookie_via_http_test({
     24    prefix: "__Host-Http-",
     25    params: "Secure; Path=/",
     26    shouldExistViaHTTP: false,
     27    origin: self.origin,
     28    title: "__Host-Http: Does not set via HTTP with 'Secure; Path=/'"
     29  });
     30 
     31  set_prefixed_cookie_via_http_test({
     32    prefix: "__Host-Http-",
     33    params: "Secure; Path=/;httponly",
     34    shouldExistViaHTTP: true,
     35    origin: self.origin,
     36    title: "__Host-Http: Set via HTTP with 'Secure; Path=/; httponly'"
     37  });
     38 
     39  set_prefixed_cookie_via_http_test({
     40    prefix: "__Host-Http-",
     41    params: "Secure; Path=/cookies/;httponly",
     42    shouldExistViaHTTP: false,
     43    origin: self.origin,
     44    title: "__Host-Http: Does not set via HTTP with 'Secure; Path=/cookies/; httponly'"
     45  });
     46 
     47  set_prefixed_cookie_via_http_test({
     48    prefix: "__Host-Http-",
     49    params: "Path=/",
     50    shouldExistViaHTTP: false,
     51    origin: self.origin,
     52    title: "__Host-Http: Does not set via HTTP with 'Path=/;' (without Secure)"
     53  });
     54 
     55  set_prefixed_cookie_via_http_test({
     56    prefix: "__Host-Http-",
     57    params: "Secure; Path=/; Domain=" + document.location.hostname,
     58    shouldExistViaHTTP: false,
     59    origin: self.origin,
     60    title: "__Host-Http: Does not set via HTTP with Domain attribute 'Secure; Path=/; Domain=" +
     61           document.location.hostname + "'"
     62  });
     63 </script>