| Index: third_party/WebKit/LayoutTests/webshare/share-success.html
|
| diff --git a/third_party/WebKit/LayoutTests/webshare/share-success.html b/third_party/WebKit/LayoutTests/webshare/share-success.html
|
| index aa29c72f8b77c3a4acf4ceb67b428c37be124795..770b349ffa76833fc9f51c36c59ecf8ad541d110 100644
|
| --- a/third_party/WebKit/LayoutTests/webshare/share-success.html
|
| +++ b/third_party/WebKit/LayoutTests/webshare/share-success.html
|
| @@ -7,7 +7,13 @@
|
|
|
| share_test((t, mock) => {
|
| mock.pushShareResult('the title', 'the message', null);
|
| - return navigator.share('the title', 'the message');
|
| + return navigator.share({title: 'the title', text: 'the message',
|
| + url: 'the URL'});
|
| }, 'successful share');
|
|
|
| +share_test((t, mock) => {
|
| + mock.pushShareResult('', '', null);
|
| + return navigator.share({});
|
| +}, 'successful share with empty ShareData');
|
| +
|
| </script>
|
|
|