| Index: third_party/WebKit/Source/modules/payments/PaymentRequest.idl
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.idl b/third_party/WebKit/Source/modules/payments/PaymentRequest.idl
|
| index 943b325dde16a05e7514fb3e70429ce84f677553..9c0e76d7aecb618a693214d2c4fb200a20e6ba87 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentRequest.idl
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.idl
|
| @@ -8,14 +8,14 @@
|
| [
|
| RuntimeEnabled=PaymentRequest,
|
| Constructor(sequence<PaymentMethodData> methodData, PaymentDetails details, optional PaymentOptions options),
|
| - ConstructorCallWith=Document,
|
| + ConstructorCallWith=ScriptState,
|
| RaisesException=Constructor,
|
| ActiveScriptWrappable,
|
| DependentLifetime,
|
| ] interface PaymentRequest : EventTarget {
|
| - [CallWith=ScriptState] Promise<PaymentResponse> show();
|
| - [CallWith=ScriptState] Promise<void> abort();
|
| - [CallWith=ScriptState, RuntimeEnabled=CanMakePayment] Promise<boolean> canMakePayment();
|
| + Promise<PaymentResponse> show();
|
| + Promise<void> abort();
|
| + [RuntimeEnabled=CanMakePayment] Promise<boolean> canMakePayment();
|
|
|
| [ImplementedAs=getShippingAddress] readonly attribute PaymentAddress? shippingAddress;
|
| readonly attribute DOMString? shippingOption;
|
|
|