share-securecontext.http.html (577B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>WebShare Test: Share from non-secure context</title> 6 <link rel="help" href="https://w3c.github.io/web-share/#extensions-to-the-navigator-interface"> 7 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharnessreport.js"></script> 9 </head> 10 <body> 11 <script> 12 test(() => { 13 assert_false('share' in navigator, 'navigator has attribute \'share\'.'); 14 }, 'navigator.share must be undefined in non-secure context'); 15 </script> 16 </body> 17 </html>