Primary eng (and PM emails)
jinho...@samsung.com, rou...@chromium.org
Summary
The attribute was removed from the payment request API spec.
Motivation
The PaymentAddress interface has a careOf field which is non-standard (no well-known address
standards support it, see below). The careOf field is unnecessary, the recipient and organization fields
sufficiently support all necessary use cases. Adding careOf poses significant issues in terms of
interoperability with existing postal address schemas and APIs.
(From spec discussion: https://github.com/w3c/browser-payment-api/issues/244)
Compatibility Risk
Low; Chrome 53 for android is a first browser to support the payment request.
(It was release two days ago.)
User and JS author can’t handle the attribute anyway because current implementation doesn't provide
any UI to set the attribute yet.
Alternative implementation suggestion for web developers
Unnecessary;
Current implementation doesn't provide any UI for inputting the attribute.
Usage information from UseCounter
There is no public UseCounter but Chrome 53 for android(including PaymentRequest API) was
release on 09/16. Also, user and JS author can’t handle the attribute anyway because current
implementation doesn't provide any UI to set the attribute yet.
OWP launch tracking bug
Entry on the faeture dashboard
https://www.chromestatus.com/features/5639348045217792
Requesting approval to remove too?
YesThe attribute is mentioned in the Payment Request API integration guide, can you get in touch with the right people to make sure it's removed from there and any other documentation that might mention it?
BTW, that the toDict helper is needed at all seems weird, is it a workaround for the fact that Blink's PaymentAddress.idl is missing serializer = {attribute}? PaymentResponse is also missing it.
I took a look in cs.chromium.org, but it's not clear to me how PaymentAddress is populated. Is "any UI for inputting the attribute" the only way it could be non-empty? If so I think removal without deprecation makes sense given how new it is, but an example of how PaymentAddress would be used in the wild would be nice.
--
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+unsubscribe@chromium.org.
I'm also curious if there are any other attributes on PaymentAddress which are always empty?
M56 sounds OK.