Closed
Bug 1509147
Opened 6 years ago
Closed 6 years ago
Rename payer and paymentMethod on nsIPaymentDetails to payerErrors and paymentMethodErrors respectively
Categories
(Core :: DOM: Web Payments, defect, P1)
Core
DOM: Web Payments
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: MattN, Assigned: dpino)
References
()
Details
(Whiteboard: [webpayments-reserve])
Attachments
(1 file, 4 obsolete files)
17.43 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
It's non-obvious that `nsIPaymentDetails.payer` or `nsIPaymentDetails.paymentMethod` actually contain errors, not information about the payer or paymentMethod. I had a hard time figuring out if these errors were passed to the front-end because of this. These should be renamed to add an "Errors" suffix to match `shippingAddressErrors`.
Front-end code and tests should be updated to reflect this.
Diego, would you prefer contributing to C++ or JS? This may be a good bug for you. Feel free to join #payments on irc.mozilla.org
Flags: needinfo?(dpino)
Assignee | ||
Comment 1•6 years ago
|
||
I have no preference. I like the idea of working on C++ code too, despite it has been a long time since I coded in C++. Possibly I can take simple C++ bugs like this one for a start.
Flags: needinfo?(dpino)
Assignee | ||
Comment 2•6 years ago
|
||
Attachment #9026932 -
Flags: review?(MattN+bmo)
Updated•6 years ago
|
Assignee: nobody → dpino
Status: NEW → ASSIGNED
Priority: P3 → P1
Reporter | ||
Comment 3•6 years ago
|
||
Comment on attachment 9026932 [details] [diff] [review]
Bug-1509147-Rename-payer-and-paymentMethod-on-nsIPay.patch
Review of attachment 9026932 [details] [diff] [review]:
-----------------------------------------------------------------
Looks great! I'll request DOM peer review now too. Thanks
Attachment #9026932 -
Flags: review?(amarchesini)
Attachment #9026932 -
Flags: review?(MattN+bmo)
Attachment #9026932 -
Flags: review+
Reporter | ||
Comment 4•6 years ago
|
||
Make sure to run `./mach test dom/payments` too.
Assignee | ||
Comment 5•6 years ago
|
||
Update patch (`dom/payments/test/test_basiccarderrors.html` failed).
Attachment #9026932 -
Attachment is obsolete: true
Attachment #9026932 -
Flags: review?(amarchesini)
Assignee | ||
Comment 6•6 years ago
|
||
Attachment #9027018 -
Attachment is obsolete: true
Attachment #9027020 -
Flags: review?(amarchesini)
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Updated patch (`dom/payments/test/test_payerDetails.html` failed).
Attachment #9027020 -
Attachment is obsolete: true
Attachment #9027020 -
Flags: review?(amarchesini)
Attachment #9027105 -
Flags: review?(amarchesini)
Assignee | ||
Comment 9•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Fixed failing test `test_retryPayment.html`.
Attachment #9027105 -
Attachment is obsolete: true
Attachment #9027105 -
Flags: review?(amarchesini)
Attachment #9027480 -
Flags: review?(amarchesini)
Assignee | ||
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
After this many back and forth patch updates, I think the patch is ready for review now (no tests failing).
Updated•6 years ago
|
Attachment #9027480 -
Flags: review?(amarchesini) → review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 13•6 years ago
|
||
Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9a02a8a62e5
Rename payer and paymentMethod on nsIPaymentDetails to payerErrors and paymentMethodErrors respectively r=baku
Keywords: checkin-needed
Comment 14•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•6 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•