tor-browser

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

requires-secure-context.html (399B)


      1 <!DOCTYPE html>
      2 <title>Test that documentPictureInPicture is not available in insecure contexts</title>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <body>
      6 <script>
      7 test(() => {
      8  assert_equals(undefined, window.documentPictureInPicture);
      9 },
     10    "documentPictureInPicture should not be available in insecure contexts");
     11 </script>
     12 </body>