Primary eng (and PM) emails
Summary
The `currencySystem` member was removed from PaymentRequest API spec. Removal at this time
does not preclude it being added to a future version of the API. Implementations of Payment Request
API allow the use of well-formed currency codes that are not part of the official ISO4217 registry. If the
provided code is a currency that the browser knows how to display, then an implementation will
generally display the appropriate currency symbol in the user interface.
Motivation
Required validation of currency code[1]
Before this change, implementations allowed the use of any string that are not part of the ISO 4217 if
web developer uses custom currency system.
After this change, implementations only allows well-formed 3-letter alphabetic code[2].
[1] https://github.com/w3c/payment-request/issues/490
[2] https://tc39.github.io/ecma402/#sec-iswellformedcurrencycode
Interoperability and Compatibility Risk
The compatibility risk is very low in Chrome. I added a use counter but it's been never used until now.
The interoperability is also very low for the following reasons.
- WPWG face-to-face meeting(Apr 2018) discussed the situation. Ripple, Facebook, Google, Airbnb,
Mastercard, Mozilla, and JCB expressed support for removing the feature and there were no
objections.
- Sent CfC(Call for Consensus) to WPWG public mailing list but there were no additional
objections[1][2].
[1] https://lists.w3.org/Archives/Public/public-payments-wg/2018Apr/0020.html
[2] https://lists.w3.org/Archives/Public/public-payments-wg/2018May/0001.html
Edge: No public signal
Firefox: Supported, positive to removal
Safari: No public signal
Web Developers: Positive to removal
Alternative implementation suggestion for web developers
Unnecessary
Usage information from UseCounter
https://www.chromestatus.com/metrics/feature/timeline/popularity/2435
Entry on the feature dashboard
https://www.chromestatus.com/feature/4887385041010688
Requesting approval to remove too?
Yes
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/17b5ad68-f34b-43ac-95ad-19b8c3e7a3d9%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/op.zjen9lmarbppqq%40cicero2.linkoping.osa.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYd1HKricbC2NOyR3CH4VpBUspagct%3D11PpXLnM113ro%3DA%40mail.gmail.com.