payment-request

edit

WPT coverage of the tests of payment-request at the revision c8fa86fb13d4. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features), the reftests and the crash tests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable2931094%
Tentative0200%
Reftests000–
Crash tests000–
All2933088%

Failure reasons

The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.

  • TEST BUG: 1
  • NOT IMPLEMENTED: 1
  • OUT OF SCOPE: 2

Stable tests

TestResultSubtestsKindDescription
PaymentMethodChangeEvent/methodDetails-attribute.https.htmlPass2 / 2
PaymentMethodChangeEvent/methodName-attribute.https.htmlPass2 / 2
PaymentRequestUpdateEvent/constructor.http.htmlPass1 / 1
PaymentRequestUpdateEvent/constructor.https.htmlPass3 / 3
PaymentRequestUpdateEvent/updatewith-method.https.htmlPass3 / 3
constructor_convert_method_data.https.htmlPass3 / 3
delegate-request.https.sub.htmlFail3 / 4NOT IMPLEMENTEDcapability delegation (the delegate option of postMessage(), https://wicg.github.io/capability-delegation/spec.html): the subframe has no transient activation, so show() rejects with a SecurityError
historical.https.htmlPass9 / 9
idlharness.https.window.jsPass74 / 74
onpaymentmethodchange-attribute.https.htmlPass4 / 4
payment-is-showing.https.htmlPass3 / 3
payment-request-abort-method.https.htmlPass4 / 4
payment-request-canmakepayment-method.https.htmlPass6 / 6
payment-request-constructor-thcrash.https.htmlPass10 / 10
payment-request-constructor.https.sub.htmlPass30 / 30
payment-request-ctor-currency-code-checks.https.sub.htmlPass10 / 10
payment-request-ctor-pmi-handling.https.sub.htmlPass4 / 4
payment-request-disallowed-when-hidden.https.htmlPass1 / 1
payment-request-id-attribute.https.htmlPass2 / 2
payment-request-insecure.http.htmlPass1 / 1
payment-request-not-exposed.https.worker.jsPass1 / 1
payment-request-onshippingaddresschange-attribute.https.htmlPass4 / 4
payment-request-onshippingoptionchange-attribute.https.htmlPass4 / 4
payment-request-shippingAddress-attribute.https.htmlPass2 / 2
payment-request-shippingOption-attribute.https.htmlPass6 / 6
payment-request-shippingType-attribute.https.htmlPass3 / 3
payment-request-show-method.https.htmlPass4 / 4
payment-response/onpayerdetailchange-attribute.https.htmlPass2 / 2
rejects_if_not_active.https.htmlFail3 / 4TEST BUGthe test calls test_driver.bless() in an iframe whose parent was navigated away: a document that is not fully active cannot get transient activation, so show() rejects with a SecurityError (https://w3c.github.io/payment-request/#show-method, step 2) before it checks that the document is fully active (step 4); Chromium fails it too
show-consume-activation.https.htmlPass1 / 1
show-method-optional-promise-rejects.https.htmlPass10 / 10

Tentative tests

TestResultSubtestsKindDescription
payment-request-hasenrolledinstrument-method-protection.tentative.https.htmlFail0 / 1OUT OF SCOPEPaymentRequest.hasEnrolledInstrument() is a proposal of Chromium that is not in the Payment Request API (it is not in its IDL)
payment-request-hasenrolledinstrument-method.tentative.https.htmlFail0 / 3OUT OF SCOPEPaymentRequest.hasEnrolledInstrument() is a proposal of Chromium that is not in the Payment Request API (it is not in its IDL)