Throw on invalid "basic-card" data

PaymentRequest constructor throws a TypeError when invalid "supportedNetworks" or "supportedTypes" are specified for "basic-card" payment.

Comments

Need to count the usage of invalid "basic-card" data in the wild before shipping.

Specification

Working draft or equivalent

Status in Chromium

Blink>Payments


Enabled by default (tracking bug) in:

  • Chrome for desktop release 77
  • Chrome for Android release 77

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No public signals
  • No public signals
  • No public signals
  • No signals

Owner

Last updated on 2019-07-31