mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -1,7 +1,7 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into webref
|
||||
// (https://github.com/w3c/webref)
|
||||
// Source: Payment Request API (https://w3c.github.io/payment-request/)
|
||||
// Source: Payment Request API 1.1 (https://w3c.github.io/payment-request/)
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
interface PaymentRequest : EventTarget {
|
||||
|
@ -59,6 +59,10 @@ dictionary PaymentItem {
|
|||
boolean pending = false;
|
||||
};
|
||||
|
||||
dictionary PaymentCompleteDetails {
|
||||
object? data = null;
|
||||
};
|
||||
|
||||
enum PaymentComplete {
|
||||
"fail",
|
||||
"success",
|
||||
|
@ -74,7 +78,10 @@ interface PaymentResponse : EventTarget {
|
|||
readonly attribute object details;
|
||||
|
||||
[NewObject]
|
||||
Promise<undefined> complete(optional PaymentComplete result = "unknown");
|
||||
Promise<undefined> complete(
|
||||
optional PaymentComplete result = "unknown",
|
||||
optional PaymentCompleteDetails details = {}
|
||||
);
|
||||
[NewObject]
|
||||
Promise<undefined> retry(optional PaymentValidationErrors errorFields = {});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue