Revision 904da22855cdcf22d76ac514eb7c4f699ab6f389 authored by Anne van Kesteren on 03 May 2018, 08:59:36 UTC, committed by Anne van Kesteren on 03 May 2018, 08:59:36 UTC
1 parent 0cb962b
share-cancel-manual.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>WebShare Test: Share cancelled by user</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});
setupManualShareTestRequiringCancellation();
promise_test(t => {
return callWhenButtonClicked(() => promise_rejects(
t, 'AbortError',
navigator.share({title: 'the title', text: 'the message',
url: 'data:the url'})));
}, 'share with user cancellation');
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...