Diego Pino Garcia
079a1050f5
Bug 1509147 - Rename payer and paymentMethod on nsIPaymentDetails to payerErrors and paymentMethodErrors respectively r=baku
2018-11-26 03:08:00 +02:00
Matthew Noorenberghe
a7745f11f8
Bug 1465673 - Disable browser_card_edit.js in macOS debug builds due to high failure rates. r=me
2018-10-23 15:14:11 -07:00
Margareta Eliza Balazs
5ea2aaf2c6
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-10-23 12:31:53 +03:00
Matthew Noorenberghe
2f8c38bb48
Bug 1486954 - Fix browser/components/payments/test/browser/head.js eslint issue. r=me
2018-10-22 23:13:54 -07:00
Julian Descottes
07720a1de0
Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8
...
Depends on D8740.
This changeset replaces calls to ok with 3 arguments to calls with 2 arguments
in situations where the switch does not have a significant impact on the assert.
Differential Revision: https://phabricator.services.mozilla.com/D8741
2018-10-23 07:13:35 +00:00
Julian Descottes
15aaadb6c7
Bug 1499096 - Update tests using ok() to is();r=Standard8
...
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.
Differential Revision: https://phabricator.services.mozilla.com/D8739
2018-10-23 07:12:23 +00:00
Timothy Guan-tin Chien
c17de18925
Bug 1486954 - Part V, Prevent credit card record from being accessed if not initialize r=MattN
...
This patch changed the initialization of records so that we don't call into credit card
AutofillRecords class if it is pref-off.
Differential Revision: https://phabricator.services.mozilla.com/D9158
2018-10-18 22:10:25 +00:00
Timothy Guan-tin Chien
8bca3c3a1a
Bug 1486954 - Part I, Encrypt credit card numbers with OS key store. r=MattN
...
This patch morphs MasterPassword.jsm to OSKeyStore.jsm while keeping the same
API, as an adaptor between the API and the native API exposed as nsIOSKeyStore.idl.
Noted that OS Key Store has the concept of "recovery phrase" that we won't
be adopting here. The recovery phrase, together with our label, allow
the user to re-create the same key in OS key store.
Test case changes are needed because we have started asking for login in
places where we'll only do previously when "master password is enabled".
This also made some "when master password is enabled" tests invalid because
it is always considered enabled.
Some more test changes are needed simply because they previously rely on the
stable order of microtask resolutions (and the stable # of promises for a
specific operation). That has certainly changed with OSKeyStore.
The credit card form autofill is only enabled on Nightly.
Differential Revision: https://phabricator.services.mozilla.com/D4498
2018-10-17 02:31:04 +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
Matthew Noorenberghe
fd1477f32d
Bug 1435871 - Back out changeset 3f6664786e85 (Bug 1470584) since it's for a windowed dialog. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D8272
2018-10-20 03:38:53 +00:00
Gurzau Raul
85dbd96c60
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-10-20 01:09:52 +03:00
Diego Pino Garcia
342c880959
Bug 1497514 - Initialize BasicCardPage selectedStateKey to 'selectPaymentCard'. r=MattN
...
Also require basicCardPage has a selectedStateKey
2018-10-18 23:56:00 +03:00
Noemi Erli
4114fb4906
Backed out changeset 8b3b53341da2 (bug 1497514) for failures in browser/components/payments/test/mochitest/test_basic_card_form.html
2018-10-19 03:50:32 +03:00
Diego Pino Garcia
edba6d8e8e
Bug 1497514 - Initialize BasicCardPage selectedStateKey to 'selectPaymentCard'. r=MattN
...
Also require basicCardPage has a selectedStateKey
2018-10-18 15:25:49 -07: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
Jared Wein
b1d56aadc5
Bug 1420853 - Ensure only fields valid for the given country are saved. r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D9034
2018-10-19 16:36:45 +00:00
Brindusan Cristian
09c63cca65
Backed out changeset 8641e30ebaf4 (bug 1435871) for multiple browser-chrome failures on payments. CLOSED TREE
2018-10-19 14:58:11 +03: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
Matthew Noorenberghe
ec5cf1bb78
Bug 1435871 - Implement a basic tab-modal dialog container for Payment Request. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D7934
2018-10-19 05:06:22 +00:00
Matthew Noorenberghe
d84d66e803
Bug 1435871 - Back out changeset 3f6664786e85 (Bug 1470584) since it's for a windowed dialog. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D8272
2018-10-19 05:06:20 +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
Matthew Noorenberghe
a92837e447
Bug 1435871 - Implement a basic tab-modal dialog container for Payment Request. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D7934
2018-10-17 18:46:27 +00:00
Matthew Noorenberghe
7a1869d51d
Bug 1435871 - Back out changeset 3f6664786e85 (Bug 1470584) since it's for a windowed dialog. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D8272
2018-10-17 18:46:25 +00:00
Andrei Oprea
11b790e2b1
Bug 1492671 - Disable screenshot capturing for triggering network requests in payments mochitests r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D8877
2018-10-17 15:08:50 +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
b20e0893c9
Bug 1435163 - Show merchant address errors on the summary screen. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D7160
2018-09-29 00:17:52 +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
Matthew Noorenberghe
62d03accc3
Bug 1435163 - Show merchant address errors on billing and payer screens. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D7149
2018-09-29 00:17:42 +00:00
Sam Foster
140c17314a
Bug 1473662 - Save button should be labelled 'Next' when adding a new address or card. r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D7209
2018-09-28 20:00:03 +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
cc38c1b150
Bug 1490805 - Add a required CSC/CVV field to the add card page. r=jaws
...
Depends on D6882
Differential Revision: https://phabricator.services.mozilla.com/D6883
2018-09-27 17:26:24 +00:00
Matthew Noorenberghe
4c0db4ddf6
Bug 1490805 - Include temporary basic cards in validity check for supportedNetworks. r=sfoster
...
Depends on D6848
Differential Revision: https://phabricator.services.mozilla.com/D6882
2018-09-27 05:57:40 +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
Ciure Andrei
db0244a411
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-09-26 00:53:40 +03: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
Matthew Noorenberghe
de06f9627d
Bug 1493349 - Disable intermittent test_basic_card_form.html on debug/ASAN builds. r=test-only
2018-09-25 12:35:08 -07:00
Matthew Noorenberghe
931bf2f995
Bug 1493216 - Disable intermittent test_address_option.html on Windows. r=test-only
2018-09-25 12:34:12 -07:00
Margareta Eliza Balazs
1290c58f68
Merge inbound to mozilla-central. a=merge
2018-09-25 12:42:09 +03:00
Christoph Kerschbaumer
027fdf5373
Bug 1490874: Update tests to comply with new script error logging mechanism. r=MattN
2018-09-25 07:52:30 +02:00
Matthew Noorenberghe
67c5f5ea91
Bug 1480717 - Fix credit card form billing address and persist checkbox layout. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D4175
2018-09-24 19:51:39 +00:00
Jared Wein
3ec633199f
Bug 1481972 - Add remaining countries to address autofill countries list. r=MattN
...
Saving and filling the countries via Form Autofill will still be limited to certain countries
but this allows the storage to be useful for Web Payments in other countries.
Differential Revision: https://phabricator.services.mozilla.com/D5194
2018-09-23 23:50:03 -07:00
shindli
23c0be1304
Backed out changeset 510e95767aeb (bug 1490874) for security failures in browser/components/payments/test/mochitest/test_basic_card_form.html CLOSED TREE
2018-09-24 11:43:30 +03:00
Christoph Kerschbaumer
72e1ad4898
Bug 1490874: Log Principal based Security Errors to the Security pane in the console. r=smaug
2018-09-24 09:34:04 +02:00
Matthew Noorenberghe
8510ad9978
Bug 1493157 - requestLongerTimeout(2) on browser_card_edit.js. r=trivial
2018-09-21 08:42:50 -07: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