mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Update web-platform-tests to revision ee40b7bdc5a1e62be5b49b298b8d080b3de816b6
This commit is contained in:
parent
d6118923d3
commit
81f021f2df
1721 changed files with 36115 additions and 19032 deletions
|
@ -3,9 +3,13 @@
|
|||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Payment Request API (https://w3c.github.io/payment-request/)
|
||||
|
||||
[Constructor(sequence<PaymentMethodData> methodData, PaymentDetailsInit details, optional PaymentOptions options = {}),
|
||||
SecureContext, Exposed=Window]
|
||||
[SecureContext, Exposed=Window]
|
||||
interface PaymentRequest : EventTarget {
|
||||
constructor(
|
||||
sequence<PaymentMethodData> methodData,
|
||||
PaymentDetailsInit details,
|
||||
optional PaymentOptions options = {}
|
||||
);
|
||||
[NewObject]
|
||||
Promise<PaymentResponse> show(optional Promise<PaymentDetailsUpdate> detailsPromise);
|
||||
[NewObject]
|
||||
|
@ -171,9 +175,9 @@ dictionary PayerErrors {
|
|||
DOMString phone;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional MerchantValidationEventInit eventInitDict = {}),
|
||||
SecureContext, Exposed=Window]
|
||||
[SecureContext, Exposed=Window]
|
||||
interface MerchantValidationEvent : Event {
|
||||
constructor(DOMString type, optional MerchantValidationEventInit eventInitDict = {});
|
||||
readonly attribute DOMString methodName;
|
||||
readonly attribute USVString validationURL;
|
||||
void complete(Promise<any> merchantSessionPromise);
|
||||
|
@ -184,8 +188,9 @@ dictionary MerchantValidationEventInit : EventInit {
|
|||
USVString validationURL = "";
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict = {}), SecureContext, Exposed=Window]
|
||||
[SecureContext, Exposed=Window]
|
||||
interface PaymentMethodChangeEvent : PaymentRequestUpdateEvent {
|
||||
constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict = {});
|
||||
readonly attribute DOMString methodName;
|
||||
readonly attribute object? methodDetails;
|
||||
};
|
||||
|
@ -195,8 +200,9 @@ dictionary PaymentMethodChangeEventInit : PaymentRequestUpdateEventInit {
|
|||
object? methodDetails = null;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict = {}), SecureContext, Exposed=Window]
|
||||
[SecureContext, Exposed=Window]
|
||||
interface PaymentRequestUpdateEvent : Event {
|
||||
constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict = {});
|
||||
void updateWith(Promise<PaymentDetailsUpdate> detailsPromise);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue