https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f2b9eafbc0e58118d53b37841d9e587f45924175 authored by Olli Pettay on 14 April 2018, 16:20:15 UTC
use smooth scrolling also for history navigations
Tip revision: f2b9eaf
share-securecontext.http.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>WebShare Test: Share from non-secure context</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
  </head>
  <body>
    <script>
        test(() => {
          assert_false('share' in navigator, 'navigator has attribute \'share\'.');
        }, 'navigator.share must be undefined in non-secure context');
    </script>
  </body>
</html>
back to top