mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Update web-platform-tests to revision 8f8ff0e2a61f2a24996404921fe853cb1fd9b432
This commit is contained in:
parent
e98cd07910
commit
141a52794b
58 changed files with 1615 additions and 276 deletions
|
@ -59,6 +59,13 @@ partial interface ServiceWorkerGlobalScope {
|
|||
attribute EventHandler onpaymentrequest;
|
||||
};
|
||||
|
||||
dictionary PaymentMethodChangeResponse {
|
||||
DOMString error;
|
||||
PaymentCurrencyAmount total;
|
||||
FrozenArray<PaymentDetailsModifier> modifiers;
|
||||
object paymentMethodErrors;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, PaymentRequestEventInit eventInitDict), Exposed=ServiceWorker]
|
||||
interface PaymentRequestEvent : ExtendableEvent {
|
||||
readonly attribute USVString topOrigin;
|
||||
|
@ -68,7 +75,9 @@ interface PaymentRequestEvent : ExtendableEvent {
|
|||
readonly attribute object total;
|
||||
readonly attribute FrozenArray<PaymentDetailsModifier> modifiers;
|
||||
readonly attribute DOMString instrumentKey;
|
||||
readonly attribute boolean requestBillingAddress;
|
||||
Promise<WindowClient?> openWindow(USVString url);
|
||||
Promise<PaymentMethodChangeResponse?> changePaymentMethod(DOMString methodName, optional object? methodDetails = null);
|
||||
void respondWith(Promise<PaymentHandlerResponse> handlerResponsePromise);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue