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

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

Issue 2073603002: Add shippingOption to PaymentResponse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase #2 Created 4 years, 6 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/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 f78da225522c559b94bf9521e9504c918581ac0b..bd12606cdd79adeac1e81163c907b6cb186e2c7d 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentResponse.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.idl
@@ -10,7 +10,7 @@ enum PaymentComplete {
""
};
-// https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#paymentresponse-interface
+// https://w3c.github.io/browser-payment-api/#paymentresponse-interface
[
RuntimeEnabled=PaymentRequest,
@@ -21,6 +21,7 @@ enum PaymentComplete {
readonly attribute DOMString? payerPhone;
[CallWith=ScriptState, RaisesException] readonly attribute object details;
readonly attribute PaymentAddress? shippingAddress;
+ readonly attribute DOMString? shippingOption;
[CallWith=ScriptState] Promise<void> complete(optional PaymentComplete paymentResult = "");
};

Powered by Google App Engine
This is Rietveld 408576698