tor-browser

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

share-url-relative-manual.https.html (616B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>WebShare Test: Share with relative URL</title>
      6    <script src="/resources/testharness.js"></script>
      7    <script src="/resources/testharnessreport.js"></script>
      8    <script src="resources/manual-helper.js"></script>
      9    <base href="https://www.example.com/some/path.html">
     10  </head>
     11  <body>
     12    <script>
     13        setup({explicit_timeout: true});
     14 
     15        const url = 'foo';
     16        setupManualShareTest({title: '', text: '', url: getAbsoluteUrl(url)});
     17        callWhenButtonClicked(() => navigator.share({url}));
     18    </script>
     19  </body>
     20 </html>