зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1598542 [wpt PR 20386] - Update interfaces/payment-handler.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/payment-handler.idl (#20386) Source: https://github.com/tidoust/reffy-reports/blob/b60317f/ed/idl/payment-handler.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/615412747 -- wpt-commits: 3c6d7d04a640e21b328bec5d568000d337f1472d wpt-pr: 20386
This commit is contained in:
Родитель
3f942da4de
Коммит
504d0c76b8
|
@ -50,7 +50,7 @@ partial interface ServiceWorkerGlobalScope {
|
|||
|
||||
[Exposed=ServiceWorker]
|
||||
interface CanMakePaymentEvent : ExtendableEvent {
|
||||
constructor(DOMString type, CanMakePaymentEventInit eventInitDict);
|
||||
constructor(DOMString type, optional CanMakePaymentEventInit eventInitDict = {});
|
||||
readonly attribute USVString topOrigin;
|
||||
readonly attribute USVString paymentRequestOrigin;
|
||||
readonly attribute FrozenArray<PaymentMethodData> methodData;
|
||||
|
@ -78,7 +78,7 @@ dictionary PaymentRequestDetailsUpdate {
|
|||
|
||||
[Exposed=ServiceWorker]
|
||||
interface PaymentRequestEvent : ExtendableEvent {
|
||||
constructor(DOMString type, PaymentRequestEventInit eventInitDict);
|
||||
constructor(DOMString type, optional PaymentRequestEventInit eventInitDict = {});
|
||||
readonly attribute USVString topOrigin;
|
||||
readonly attribute USVString paymentRequestOrigin;
|
||||
readonly attribute DOMString paymentRequestId;
|
||||
|
@ -91,7 +91,7 @@ interface PaymentRequestEvent : ExtendableEvent {
|
|||
readonly attribute FrozenArray<PaymentShippingOption>? shippingOptions;
|
||||
Promise<WindowClient?> openWindow(USVString url);
|
||||
Promise<PaymentRequestDetailsUpdate?> changePaymentMethod(DOMString methodName, optional object? methodDetails = null);
|
||||
Promise<PaymentRequestDetailsUpdate?> changeShippingAddress(AddressInit shippingAddress);
|
||||
Promise<PaymentRequestDetailsUpdate?> changeShippingAddress(optional AddressInit shippingAddress = {});
|
||||
Promise<PaymentRequestDetailsUpdate?> changeShippingOption(DOMString shippingOption);
|
||||
void respondWith(Promise<PaymentHandlerResponse> handlerResponsePromise);
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче