tor-browser

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

share-extra-field-manual.https.html (688B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>WebShare Test: Surplus fields ignored</title>
      6    <script src="/resources/testharness.js"></script>
      7    <script src="/resources/testharnessreport.js"></script>
      8    <script src="resources/manual-helper.js"></script>
      9  </head>
     10  <body>
     11    <script>
     12        setup({explicit_timeout: true});
     13 
     14        setupManualShareTest(
     15            {title: 'the title', text: 'the message', url: 'https://example.com'});
     16        callWhenButtonClicked(() => navigator.share(
     17              {title: 'the title', text: 'the message', url: 'https://example.com',
     18               unused: 'unexpected field'}));
     19    </script>
     20  </body>
     21 </html>