KEMBAR78
Drop prefixes, suffixes from error field members by marcoscaceres · Pull Request #745 · w3c/payment-request · GitHub
Skip to content

Conversation

marcoscaceres
Copy link
Member

@marcoscaceres marcoscaceres commented Jul 3, 2018

closes #736

The following tasks have been completed:

  • Confirmed there are no ReSpec errors/warnings (ignore the 2 warnings, unrelated!).
  • Added Web platform tests (link)
  • added MDN Docs (link)
  • added MDN compat data

Implementation commitment:

  • Safari (link to issue)
  • Chrome (link to issue)
  • Firefox (link to issue)
  • Edge (public signal)

Impact on Payment Handler spec?


Preview | Diff

@marcoscaceres
Copy link
Member Author

@domenic, we need to keep shippingAddressErrors on PaymentDetailsUpdate, otherwise it would be weird... but chopped the rest:

dictionary PaymentDetailsUpdate : PaymentDetailsBase {
  DOMString error;
  PaymentItem total;
  AddressErrorFields shippingAddressErrors;
};

Gecko bug https://bugzilla.mozilla.org/show_bug.cgi?id=1473081

@marcoscaceres
Copy link
Member Author

@domenic, hopefully quick review here. Implementations are underway in Blink and Firefox so if you could spare some cycles 🙏

DOMString regionError;
DOMString regionCodeError;
DOMString sortingCodeError;
DOMString addressLine;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unimportant nit: the order here is different than for AddressInit, which is itself different from PaymentAddress. shrug

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gonna go through the spec after all these parts land and put things in order. Right now just want to get things tested and implemented.

@marcoscaceres marcoscaceres merged commit 3faf6a4 into gh-pages Jul 9, 2018
aarongable pushed a commit to chromium/chromium that referenced this pull request Jul 19, 2018
This corresponds to the upstream spec changes on:
  - w3c/payment-request#745
  - w3c/payment-request#755

Bug: 861704
Change-Id: Ib2cac3f3964eb99aa4fea5927f6df9d8b56dee2a
Reviewed-on: https://chromium-review.googlesource.com/1142044
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org>
Commit-Queue: Jinho Bang <jinho.bang@samsung.com>
Cr-Commit-Position: refs/heads/master@{#576653}
@marcoscaceres marcoscaceres deleted the prefixes branch September 13, 2018 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop *Error from error things ... and payer*

2 participants