https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 930e144a5b889a9c0251d99a01a86df5dd5610b8 authored by Ben Kelly on 11 April 2018, 09:35:46 UTC
Add a WPT test to verify dedicated workers have a separate client ID from their owning document.
Tip revision: 930e144
share-url-empty-manual.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>WebShare Test: Share with empty URL</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});

        setupManualShareTest({title: '', text: '', url: document.baseURI});
        callWhenButtonClicked(() => navigator.share({url: ''}));
    </script>
  </body>
</html>
back to top