| Index: third_party/WebKit/LayoutTests/webshare/share-arity.html
|
| diff --git a/third_party/WebKit/LayoutTests/webshare/share-arity.html b/third_party/WebKit/LayoutTests/webshare/share-arity.html
|
| index b563ccb0ab19db8b2750b56e9ad6e466e012f3bf..a99943b863812e8e23e115246040ed4d639f9c0e 100644
|
| --- a/third_party/WebKit/LayoutTests/webshare/share-arity.html
|
| +++ b/third_party/WebKit/LayoutTests/webshare/share-arity.html
|
| @@ -10,13 +10,13 @@
|
| }, '0 arguments (promise rejection)');
|
|
|
| share_test((t, mock) => {
|
| - mock.pushShareResult('the title', 'the message', 'data:the url', null);
|
| - return callWithKeyDown(() => navigator.share({title: 'the title', text: 'the message', url: 'data:the url', unused: 'unexpected field'}));
|
| + mock.pushShareResult('the title', 'the message', null);
|
| + return callWithKeyDown(() => navigator.share({title: 'the title', text: 'the message', unused: 'unexpected field'}));
|
| }, 'extra ShareData field (extra field ignored)');
|
|
|
| share_test((t, mock) => {
|
| - mock.pushShareResult('the title', 'the message', 'data:the url', null);
|
| - return callWithKeyDown(() => navigator.share({title: 'the title', text: 'the message', url: 'data:the url'}, 'more than required'));
|
| + mock.pushShareResult('the title', 'the message', null);
|
| + return callWithKeyDown(() => navigator.share({title: 'the title', text: 'the message'}, 'more than required'));
|
| }, '2 arguments (extra argument ignored)');
|
|
|
| </script>
|
|
|