| Index: third_party/WebKit/LayoutTests/webshare/share-error.html
|
| diff --git a/third_party/WebKit/LayoutTests/webshare/share-error.html b/third_party/WebKit/LayoutTests/webshare/share-error.html
|
| index 267f0e41ac42c926415cdb4afd8c73fd1938d998..cc6474f18c564fc1c70e1595b493def72ceabf4e 100644
|
| --- a/third_party/WebKit/LayoutTests/webshare/share-error.html
|
| +++ b/third_party/WebKit/LayoutTests/webshare/share-error.html
|
| @@ -7,9 +7,9 @@
|
|
|
| share_test((t, mock) => {
|
| mock.pushShareResult('the title', 'the message', 'error from browser');
|
| - return promise_rejects(
|
| + return callWithKeyDown(() => promise_rejects(
|
| t, new DOMException('error from browser', 'AbortError'),
|
| - navigator.share({title: 'the title', text: 'the message'}));
|
| + navigator.share({title: 'the title', text: 'the message'})));
|
| }, 'share with browser-side error');
|
|
|
| </script>
|
|
|