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

Unified Diff: third_party/WebKit/LayoutTests/webshare/share-error.html

Issue 2321293002: Revert of Use the URL passed to navigator.share(). (Closed)
Patch Set: 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-error.html
diff --git a/third_party/WebKit/LayoutTests/webshare/share-error.html b/third_party/WebKit/LayoutTests/webshare/share-error.html
index a59ffc6691805f1466d10d00c51f30774e5d647d..cc6474f18c564fc1c70e1595b493def72ceabf4e 100644
--- a/third_party/WebKit/LayoutTests/webshare/share-error.html
+++ b/third_party/WebKit/LayoutTests/webshare/share-error.html
@@ -6,10 +6,10 @@
<script>
share_test((t, mock) => {
- mock.pushShareResult('the title', 'the message', 'data:the url', 'error from browser');
+ mock.pushShareResult('the title', 'the message', 'error from browser');
return callWithKeyDown(() => promise_rejects(
t, new DOMException('error from browser', 'AbortError'),
- navigator.share({title: 'the title', text: 'the message', url: 'data:the url'})));
+ navigator.share({title: 'the title', text: 'the message'})));
}, 'share with browser-side error');
</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/webshare/share-arity.html ('k') | third_party/WebKit/LayoutTests/webshare/share-success.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698