Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'

This commit is contained in:
WPT Sync Bot 2022-11-10 01:22:36 +00:00
parent ace9b32b1c
commit df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions

View file

@ -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 = {});
};