https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e76a0e43426960687ab5ea9ae526af6c34c6a93e authored by Marcos Caceres on 01 September 2017, 04:44:56 UTC
upateWith() must abort when dup shippingOption ids
Tip revision: e76a0e4
share-url-noscheme-manual.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>WebShare Test: Share with URL without a scheme</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="resources/manual-helper.js"></script>
  </head>
  <body>
    <script>
        setup({explicit_timeout: true});

        const url = '//www.example.com/some/path?some_query#some_fragment';
        setupManualShareTest({title: '', text: '', url: getAbsoluteUrl(url)});
        callWhenButtonClicked(() => navigator.share({url}));
    </script>
  </body>
</html>
back to top