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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentResponse.idl

Issue 2537493003: [PaymentRequest] Replace '' with 'unknown' in PaymentComplete. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/payments/PaymentResponse.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponse.idl b/third_party/WebKit/Source/modules/payments/PaymentResponse.idl
index 686cf46f669702a06ba2139e9a888c4abf2cc3d0..71284189bf1531b1c9b8e6ddef88757c10ac2b73 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentResponse.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.idl
@@ -7,7 +7,7 @@
enum PaymentComplete {
"success",
"fail",
- ""
+ "unknown"
};
// https://w3c.github.io/browser-payment-api/#paymentresponse-interface
@@ -25,5 +25,5 @@ enum PaymentComplete {
readonly attribute PaymentAddress? shippingAddress;
readonly attribute DOMString? shippingOption;
- [CallWith=ScriptState] Promise<void> complete(optional PaymentComplete paymentResult = "");
+ [CallWith=ScriptState] Promise<void> complete(optional PaymentComplete paymentResult = "unknown");
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698