Skip to content

Drop prefixes, suffixes from error field members - #745

Merged
marcoscaceres merged 2 commits into
gh-pagesfrom
prefixes
Jul 9, 2018
Merged

marcoscaceres merged 2 commits into
gh-pagesfrom
prefixes

Conversation

@marcoscaceres

@marcoscaceres marcoscaceres commented Jul 3, 2018 •

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
Member Author

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

Comment thread index.html
DOMString regionError;
DOMString regionCodeError;
DOMString sortingCodeError;
DOMString addressLine;

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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 <[email protected]>
Reviewed-by: Rouslan Solomakhin <[email protected]>
Commit-Queue: Jinho Bang <[email protected]>
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