Index: third_party/WebKit/Source/modules/payments/PaymentInstruments.idl |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl b/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl |
index 0446f8d05ad330489f3e9c4b1b4fd5e367531278..a6c5fd8b312a2a87c1e5259370c946ec563afa6d 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl |
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl |
@@ -9,8 +9,8 @@ |
Exposed=ServiceWorker |
] interface PaymentInstruments { |
[ImplementedAs=deleteInstrument] Promise<boolean> delete(DOMString instrumentKey); |
- Promise<PaymentInstrument> get(DOMString instrumentKey); |
+ [CallWith=ScriptState] Promise<PaymentInstrument> get(DOMString instrumentKey); |
Promise<sequence<DOMString>> keys(); |
Promise<boolean> has(DOMString instrumentKey); |
- Promise<void> set(DOMString instrumentKey, PaymentInstrument details); |
+ [CallWith=ScriptState, RaisesException] Promise<void> set(DOMString instrumentKey, PaymentInstrument details); |
}; |