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

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

Issue 2703333002: Web Share: Refactor Mojo interface to now return an enum error. (Closed)
Patch Set: Created 3 years, 10 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-types.html
diff --git a/third_party/WebKit/LayoutTests/webshare/share-types.html b/third_party/WebKit/LayoutTests/webshare/share-types.html
index ac183c28993acd9e8d46da47c17901b1feb97baf..45fc83bed40db8dffc6544f3f30cb954bcde0e5b 100644
--- a/third_party/WebKit/LayoutTests/webshare/share-types.html
+++ b/third_party/WebKit/LayoutTests/webshare/share-types.html
@@ -6,7 +6,7 @@
<script>
share_test((t, mock) => {
- mock.pushShareResult('384957', '[object Object]', '', null);
+ mock.pushShareResult('384957', '[object Object]', '', ShareError.OK);
return callWithKeyDown(() => navigator.share({title: 384957, text: {}}));
}, 'share of types other than string (expect implicitly converted to string)');

Powered by Google App Engine
This is Rietveld 408576698