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

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

Issue 2903643002: PaymentHandler: Implement PaymentRequestEvent constructor. (Closed)
Patch Set: PaymentHandler: Implement PaymentRequestEvent constructor. Created 3 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/PaymentRequestEvent.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.idl b/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.idl
index 2083df69599e407ef737f1169684fd9ea031b7b9..b91490965c02844dccc96baa7731af0eac5979ae 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.idl
@@ -4,14 +4,13 @@
// https://w3c.github.io/payment-handler/#the-paymentrequestevent
-// TODO(zino): Once the spec issue is resolved, we should apply the changes.
-// Please see https://github.com/w3c/payment-handler/pull/162
[
RuntimeEnabled=PaymentApp,
+ Constructor(DOMString type, PaymentRequestEventInit eventInitDict),
Exposed=ServiceWorker
] interface PaymentRequestEvent : ExtendableEvent {
- readonly attribute DOMString topLevelOrigin;
- readonly attribute DOMString paymentRequestOrigin;
+ readonly attribute USVString topLevelOrigin;
+ readonly attribute USVString paymentRequestOrigin;
readonly attribute DOMString paymentRequestId;
readonly attribute sequence<PaymentMethodData> methodData;
readonly attribute PaymentItem total;

Powered by Google App Engine
This is Rietveld 408576698