WPT
wpt / web-based-payment-handler / can-make-payment-event.https.html
Spec: Web-based Payment Handler API ↗
Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 1/7 | 0/7 | 1/7 | 0/7 | 0/7 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| If a payment handler is not installed, but can be installed just-in-time, then the payment method is supported. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| If a payment handler is not installed and cannot be installed just-in-time, then the payment method is not supported. | PASS | FAIL | PASS | FAIL | FAIL | — |
| If CanMakePaymentEvent.respondWith(false) is called, then canMakePayment() still returns true and the app can still be invoked. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| If CanMakePaymentEvent.respondWith(Promise.resolve(false)) is called, then canMakePayment() still returns true and the app can still be invoked. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| If CanMakePaymentEvent.respondWith(true) is called, then canMakePayment() returns true and the app can be invoked. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| If CanMakePaymentEvent.respondWith(Promise.resolve(true)) is called, then canMakePayment() returns true and the app can be invoked. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| If CanMakePaymentEvent.respondWith(Promise.reject(error)) is called, then canMakePayment() still returns true and the app can still be invoked. | FAIL | FAIL | FAIL | FAIL | FAIL | — |