OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://w3c.github.io/payment-handler/#paymentrequesteventinit-dictionary | 5 // https://w3c.github.io/payment-handler/#paymentrequesteventinit-dictionary |
6 | 6 |
7 // TODO(zino): Once the spec issue is resolved, we should apply the changes. | 7 dictionary PaymentRequestEventInit : ExtendableEventInit { |
8 // Please see https://github.com/w3c/payment-handler/pull/162 | 8 USVString topLevelOrigin; |
9 dictionary PaymentRequestEventInit { | 9 USVString paymentRequestOrigin; |
10 DOMString topLevelOrigin; | |
11 DOMString paymentRequestOrigin; | |
12 DOMString paymentRequestId; | 10 DOMString paymentRequestId; |
13 sequence<PaymentMethodData> methodData; | 11 sequence<PaymentMethodData> methodData; |
14 PaymentItem total; | 12 PaymentItem total; |
15 sequence<PaymentDetailsModifier> modifiers; | 13 sequence<PaymentDetailsModifier> modifiers; |
16 DOMString instrumentKey; | 14 DOMString instrumentKey; |
17 }; | 15 }; |
OLD | NEW |