1
0
Fork 0
firefox/testing/web-platform/tests/web-share/share-url-relative-manual.https.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
616 B
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>