tor-browser

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

canShare-insecure.http.html (489B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>WebShare Test: canShare from non-secure context</title>
      6    <script src="/resources/testharness.js"></script>
      7    <script src="/resources/testharnessreport.js"></script>
      8  </head>
      9  <body>
     10    <script>
     11        test(() => {
     12          assert_false('canShare' in navigator, 'navigator has attribute \'canShare\'.');
     13        }, 'navigator.canShare must be undefined in non-secure context');
     14    </script>
     15  </body>
     16 </html>