Commit Graph

64 Commits

Author SHA1 Message Date
Butkovits Atila
1714afd187 Backed out changeset 6d39aab86966 (bug 1633710) for failure at test_disabled_hosts.js. CLOSED TREE 2020-08-05 22:19:30 +03:00
Sebastian Streich
6dc1cb1703 Bug 1633710 - Move display-(spec/prepath/host) to nsIPrincipal r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D82913
2020-08-05 16:52:12 +00:00
Victor Porof
bf2b98e8c1 Bug 1561435 - Fix linting errors for browser/, r=standard8
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35950
2019-06-28 20:02:37 +02:00
Victor Porof
8eb72fd3fc Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Diego Pino Garcia
ec9628f8c0 Bug 1446158 - Create a handleEvent custom element mixin to forward events from handleEvent to on* methods. r=MattN 2018-12-20 03:28:00 +02:00
Coroiu Cristina
de8ec49948 Backed out changeset 7ca43b63f0e9 (bug 1446158) for ESlint failure at browser/components/payments/res/containers/address-form.js 2018-12-18 22:08:03 +02:00
Diego Pino Garcia
88565ceda9 Bug 1446158 - Create a handleEvent custom element mixin to forward events from handleEvent to on* methods. r=MattN 2018-12-18 06:56:00 +02:00
Diego Pino Garcia
5519e19e84 Bug 1476873 - Use Element.toggleAttribute instead of custom handling for setAttribute vs. removeAttribute. r=Mattn 2018-12-15 01:58:00 +02:00
Jared Wein
31ab1285a6 Bug 1477113 - Dispatch paymentmethodchange event from the front-end. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D13740
2018-12-13 18:48:54 +00:00
Narcis Beleuzu
1cc9bcfe4d Backed out changeset 3fa420b71260 (bug 1477113) for bc failures on browser_total.js. CLOSED TREE 2018-12-13 09:53:39 +02:00
Jared Wein
aa27d08ad7 Bug 1477113 - Dispatch paymentmethodchange event from the front-end. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D13740
2018-12-13 06:35:30 +00:00
Matthew Noorenberghe
7194a9232f Bug 1495549 - Clear paymentMethod errors when the paymentMethod changes. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D13451
2018-12-11 18:18:15 +00:00
Matthew Noorenberghe
524f79da6b Bug 1495549 - Clear merchant payer errors when the payer address changes. r=jaws
Depends on D12605

Differential Revision: https://phabricator.services.mozilla.com/D12606
2018-12-11 18:17:31 +00:00
Matthew Noorenberghe
5473759734 Bug 1495549 - Clear merchant shipping errors when the shipping address changes. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12605
2018-12-11 18:16:30 +00:00
Sam Foster
7328d3a035 Bug 1481481 - Create separate forms for shipping, payer and billing address r=MattN
* New AddressForm instances for each address type
* Move selected-state-key out of state for the address forms, and into an attribute
* Remove passing form title via state, just use data-title-edit and data-title-add on the element
* Remove shippingOption form title logic from address picker, just set the right attribute values from PaymentDialog
* Move setting the extraRequiredFields data attribute the payer form needs out to the payment-dialog's render.
* Amend onboarding logic to direct to billing address form when necessary
* Fix-up tests

Differential Revision: https://phabricator.services.mozilla.com/D11545
2018-11-21 19:23:27 +00:00
Matthew Noorenberghe
6e2f8bf159 Bug 1482689 - Don't import payment-dialog.js from other elements. r=sfoster
Importing payment-dialog.js ends up importing every other element because it imports the elements needed to render the full dialog.
We don't want all of our elements to depend on every other payment one so we shouldn't import payment-dialog.js anywhere in non-test code.

Differential Revision: https://phabricator.services.mozilla.com/D10576
2018-11-06 00:19:10 +00:00
Cosmin Sabou
a752eeafc6 Backed out 2 changesets (bug 1482689) for browser chrome failures on browser_address_edit.js
Backed out changeset 61b49da4b9cb (bug 1482689)
Backed out changeset c810cab5dbdb (bug 1482689)
2018-11-05 18:28:15 +02:00
Matthew Noorenberghe
9660687fde Bug 1482689 - Don't import payment-dialog.js from other elements. r=sfoster
Importing payment-dialog.js ends up importing every other element because it imports the elements needed to render the full dialog.
We don't want all of our elements to depend on every other payment one so we shouldn't import payment-dialog.js anywhere in non-test code.

Differential Revision: https://phabricator.services.mozilla.com/D10576
2018-11-01 22:01:50 +00:00
Jared Wein
ca3c6a0324 Bug 1483412 - Make the telephone number field required on the payer form if requestPayerPhone is true. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D10597
2018-11-01 22:38:03 +00:00
Matthew Noorenberghe
07253e67b6 Bug 1435871 - Open prefs from Payment Request in a tab. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D8497
2018-10-20 03:40:05 +00:00
Matthew Noorenberghe
a163a3d254 Bug 1435871 - Implement a basic tab-modal dialog container for Payment Request. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D7934
2018-10-20 03:39:32 +00:00
Jared Wein
d99da117e9 Bug 1494551 - Sort the formautofill data by the last used time. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D9174
2018-10-19 17:00:31 +00:00
Brindusan Cristian
9d31304003 Backed out 2 changesets (bug 1435871) for multiple browser-chrome failures on payments. CLOSED TREE
Backed out changeset 0f7592b662e2 (bug 1435871)
Backed out changeset 039f6d65036e (bug 1435871)
2018-10-19 12:36:13 +03:00
Matthew Noorenberghe
448fa69c0b Bug 1435871 - Open prefs from Payment Request in a tab. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D8497
2018-10-19 05:06:30 +00:00
Dorel Luca
4d4a327178 Backed out 3 changesets (bug 1435871) for mochitest crashes. CLOSED TREE
Backed out changeset 8eab3320b8c5 (bug 1435871)
Backed out changeset 29777ddd9def (bug 1435871)
Backed out changeset afdc3066f12c (bug 1435871)
2018-10-17 23:06:14 +03:00
Matthew Noorenberghe
7946315170 Bug 1435871 - Open prefs from Payment Request in a tab. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D8497
2018-10-17 18:46:12 +00:00
Jared Wein
fc09272194 Bug 1470199 - Add a tooltip for the CVV input. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D7473
2018-10-13 00:39:02 +00:00
Matthew Noorenberghe
8ca582d7b8 Bug 1496698 - Remove Custom Elements polyfill from Web Payments UI. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D7863
2018-10-05 15:37:25 +00:00
Matthew Noorenberghe
6e28c07425 Bug 1435163 - Show the summary page after the processing page when retry() is called. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D7159
2018-09-29 00:17:50 +00:00
Sam Foster
fef72bdc39 Bug 1477102 - Toggle accepted cards list on add/edit cards. Add stub for using AppConstants.MOZILLA_OFFICIAL to fallback for non-branded builds. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D7025
2018-09-28 16:53:37 +00:00
Matthew Noorenberghe
efc226688c Bug 1490805 - Make the CVV field required on the payment-summary screen. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D6848
2018-09-27 05:40:35 +00:00
Matthew Noorenberghe
3b00cb1745 Bug 1432939 - Link to Firefox Options/Preferences from the PaymentRequest dialog. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D6724
2018-09-25 17:26:38 +00:00
Jared Wein
7b7b57e0c9 Bug 1490077 - Reflect DOM validation messages on the error popup on the address and basic-card form. r=MattN
Contributions by Matthew Noorenberghe <mozilla@noorenberghe.ca>

Differential Revision: https://phabricator.services.mozilla.com/D6420
2018-09-21 00:15:56 -07:00
Noemi Erli
996dfb6f56 Backed out 2 changesets (bug 1490077) for failures in browser/components/payments/test/mochitest/test_address_option.html on a CLOSED TREE
Backed out changeset 9b038cd736cf (bug 1490077)
Backed out changeset 29f6f86fb9cd (bug 1490077)
2018-09-21 11:01:46 +03:00
Jared Wein
728adc0e4d Bug 1490077 - Reflect DOM validation messages on the error popup on the address and basic-card form. r=MattN
Contributions by Matthew Noorenberghe <mozilla@noorenberghe.ca>

Differential Revision: https://phabricator.services.mozilla.com/D6420
2018-09-21 00:15:56 -07:00
Matthew Noorenberghe
538c456013 Bug 1463545 - Replace grid layout of <address-option> with a new two line design. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D5186
2018-09-20 21:07:20 +00:00
Sam Foster
4b5fb70b7e Bug 1429181 - Consider supportedNetworks when determining if payment method is valid. r=MattN
* A new accepted-cards element to represent the labeled list of card icons
* Add the accepted cards section to the summary and card add/edit page
* mochitest for the accepted-cards element
* Make cc-type a required field and validate it against the list of supported networks
* Add verification of the pay button disabling when card network is not supported

Depends on D5823

Differential Revision: https://phabricator.services.mozilla.com/D5824
2018-09-19 18:15:11 +00:00
Bogdan Tara
c104128b3d Backed out changeset 7351a4c8d1a1 (bug 1429181) for multiple payment-related failures CLOSED TREE 2018-09-15 00:58:48 +03:00
Sam Foster
579931d05b Bug 1429181 - Consider supportedNetworks when determining if payment method is valid. r=MattN
* A new accepted-cards element to represent the labeled list of card icons
* Add the accepted cards section to the summary and card add/edit page
* mochitest for the accepted-cards element
* Make cc-type a required field and validate it against the list of supported networks
* Add verification of the pay button disabling when card network is not supported

Depends on D5823

Differential Revision: https://phabricator.services.mozilla.com/D5824
2018-09-14 20:28:41 +00:00
Matthew Noorenberghe
dc50337285 Bug 1478029 - Don't select a shipping option by default for the user. r=sfoster
Honour the .selected value provided by the merchant.

Differential Revision: https://phabricator.services.mozilla.com/D3668
2018-08-17 17:03:29 -07:00
Jared Wein
46b7ce906e Bug 1476348 - Show missing field validation errors on the summary page. r=MattN
MozReview-Commit-ID: 5dOzxWH0pWp
2018-08-03 18:51:31 -04:00
Jared Wein
97ca8b6dd2 Bug 1477699 - Show a generic error message when a merchant-supplied error message isn't present. r=MattN
MozReview-Commit-ID: Dn4mnvzunVd
2018-07-31 15:09:58 -04:00
Jared Wein
e0c3e5b688 Bug 1475521 - Payments shouldn't be processed without selecting a shipping address. r=MattN
MozReview-Commit-ID: CXxqYB3iOy
2018-07-27 12:03:46 -04:00
Matthew Noorenberghe
8ef03fea38 Bug 1476204 - Implement the payment summary error bar. r=jaws
MozReview-Commit-ID: 3Rc9ljfMCW3
2018-07-23 21:49:05 -07:00
Matthew Noorenberghe
730a3a6580 Bug 1476204 - Replace duplicate #error-text with .page-error. r=jaws
MozReview-Commit-ID: 2FOx9dpTpAs
2018-07-23 20:34:40 -07:00
Cosmin Sabou
4d1b71eee6 Backed out 5 changesets (bug 1476204) for browser chrome failures on browser_editCreditCardDialog. CLOSED TREE
Backed out changeset 10f3d1014592 (bug 1476204)
Backed out changeset a88879ea32e8 (bug 1476204)
Backed out changeset 001f13f2dd21 (bug 1476204)
Backed out changeset f0f464e3c27c (bug 1476204)
Backed out changeset ed92000eca20 (bug 1476204)
2018-07-26 04:12:56 +03:00
Matthew Noorenberghe
8e85abc48e Bug 1476204 - Implement the payment summary error bar. r=jaws
MozReview-Commit-ID: 3Rc9ljfMCW3
2018-07-23 21:49:05 -07:00
Matthew Noorenberghe
5ef6fd17d6 Bug 1476204 - Replace duplicate #error-text with .page-error. r=jaws
MozReview-Commit-ID: 2FOx9dpTpAs
2018-07-23 20:34:40 -07:00
Matthew Noorenberghe
b5efc53363 Bug 1463538 - Make all <input> in the PaymentRequest debug panel live. r=sfoster
MozReview-Commit-ID: 4nutxHpmnlc
2018-07-23 20:01:19 -07:00
Gurzau Raul
7bbe193f73 Backed out 4 changesets (bug 1463538) for failing on /payments/test/browser/browser_payments_onboarding_wizard.js
Backed out changeset 1c945ede0071 (bug 1463538)
Backed out changeset 8ccd9f4b230d (bug 1463538)
Backed out changeset e078fb39875e (bug 1463538)
Backed out changeset 798bf0d7928c (bug 1463538)
2018-07-24 11:16:21 +03:00