Revision dc670d8e953f61216f5226051f9148ed279bbd66 authored by Emilio Cobos Álvarez on 11 April 2018, 12:27:56 UTC, committed by Emilio Cobos Álvarez on 13 April 2018, 20:20:18 UTC
This tests resolutions from https://github.com/w3c/csswg-drafts/issues/1548.
1 parent de23472
Raw File
share-url-relative-manual.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>WebShare Test: Share with relative URL</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="resources/manual-helper.js"></script>
    <base href="https://www.example.com/some/path.html">
  </head>
  <body>
    <script>
        setup({explicit_timeout: true});

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