tor-browser

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

secure-context.https.any.js (301B)


      1 // META: global=window,dedicatedworker,sharedworker,serviceworker
      2 test(() => {
      3  assert_true(self.isSecureContext);
      4 }, "Use of .https file name flag implies secure context");
      5 
      6 test(() => {
      7  assert_equals(location.protocol, "https:");
      8 }, "Use of .https file name flag implies HTTPS scheme");
      9 
     10 done();