w3c / secure-payment-confirmation

Secure Payment Confirmation (SPC)
https://w3c.github.io/secure-payment-confirmation/
Other
106 stars 48 forks source link

[Spec] Move some input validation to construction time #195

Closed stephenmcgruer closed 2 years ago

stephenmcgruer commented 2 years ago

Fixes #194

Depends on https://github.com/w3c/payment-request/pull/977


Preview | Diff

stephenmcgruer commented 2 years ago

@rsolomakhin - PTAL, and in particular check that this matches what we check synchronously at construction time versus asynchronously for later canMakePayment()/show() calls.

stephenmcgruer commented 2 years ago

Opened https://crbug.com/1342686 for Chrome changes, and will also send a WPT change to align tests with spec.