Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html

Issue 2309403002: Use the URL passed to navigator.share(). (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html
diff --git a/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html b/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html
index d69adc8155fc11014ec356907ca36400458f96f9..9e8fad717afad9f20e9af2b08bf28f438e177943 100644
--- a/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html
+++ b/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html
@@ -8,7 +8,7 @@
share_test((t, mock) => {
return promise_rejects(
t, new DOMException('Must be handling a user gesture to perform a share request.', 'SecurityError'),
- navigator.share({title: 'the title', text: 'the message'}));
+ navigator.share({title: 'the title', text: 'the message', url: 'data:the url'}));
}, 'share without a user gesture');
</script>

Powered by Google App Engine
This is Rietveld 408576698