Commit Graph

71 Commits

Author SHA1 Message Date
Matthew Noorenberghe
e7534fe294 Bug 1428472 - Default to the selected shipping address on the "add basic card" screen. r=jaws
MozReview-Commit-ID: Hx4AHqiTapn
2018-04-13 17:25:13 -07:00
Matthew Noorenberghe
2a59ce2336 Bug 1432952 - Send the basic-card's billing address with the response. r=jaws
MozReview-Commit-ID: 9tquQ0C7D91
2018-04-10 18:52:13 -07:00
Sam Foster
93737c32a0 Bug 1427958 - Check modified dates when determining if the shipping address has changed. r=MattN
* Compare address timeLastModified as well as the selectedShippingAddress guid when handling new state
* Add tests to ensure editing or removing the selected address record correctly updates the UI

MozReview-Commit-ID: InQDP55Fs2
2018-03-28 15:54:20 -07:00
Matthew Noorenberghe
613b490bec Bug 1428414 - Support saving credit card changes in the Payment Request dialog. r=jaws
MozReview-Commit-ID: J2rRUy1lHiZ
2018-04-03 14:06:21 -04:00
Kris Maglione
9d5b9190a5 Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc
2018-03-07 19:31:28 -08:00
Kris Maglione
c52d401bb4 Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT
2018-03-14 14:35:05 -07:00
Henri Sivonen
4948805cd0 Bug 1436903 - Avoid passing shipping options to the front end when shipping was not requested. r=baku
MozReview-Commit-ID: FdkC02izUy6
2018-03-07 13:16:46 +02:00
Cosmin Sabou
7e049a1cdd Backed out 2 changesets (bug 1429213) for mochitest browser chrome failures at browser_show_dialog.js on a CLOSED TREE
Backed out changeset 3f419c7dcf2a (bug 1429213)
Backed out changeset 752ad36df388 (bug 1429213)
2018-03-07 22:11:06 +02:00
Jared Wein
9b69abd2ad Bug 1429213 - Time out the payment dialog after the user clicks 'Pay', closing the dialog if response.complete() is not called. r=MattN
MozReview-Commit-ID: 8IswziomlHF
2018-02-28 14:57:54 -05:00
Daniel Marshall
7724f2e32c Bug 1434483 - Renamed profileStorage singleton to formAutofillStorage to make it more clear; r=MattN
MozReview-Commit-ID: CaPYBGLfs5I
2018-02-10 21:23:19 +00:00
Mark Banner
29e56bce9b Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian.
MozReview-Commit-ID: IVMeZHGdVBk
2018-03-06 12:01:59 +00:00
Narcis Beleuzu
439cc34017 Backed out changeset a8130e46c530 (bug 1434483) for ESlint failures on browser_change_shipping.js. CLOSED TREE 2018-03-05 23:50:02 +02:00
Daniel Marshall
49ad18cee3 Bug 1434483 - Renamed profileStorage singleton to formAutofillStorage to make it more clear; r=MattN
MozReview-Commit-ID: CaPYBGLfs5I
2018-02-10 21:23:19 +00:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Matthew Noorenberghe
237d8883c2 Bug 1440843 - Don't dispatch shipping*change events if requestShipping is false. r=jaws
MozReview-Commit-ID: 8HfO8UN0stE
2018-02-26 22:03:26 -08:00
arthur.iakab
da4159b43e Backed out changeset 0ec115a54885 (bug 1440843) for failing browser chrome on toolkit/components/payments/test/browser/browser_change_shipping.js 2018-02-24 22:23:41 +02:00
Matthew Noorenberghe
7b37b2f420 Bug 1440843 - Don't dispatch shipping*change events if requestShipping is false. r=jaws
MozReview-Commit-ID: Cu74O0Reu4L
2018-02-24 11:11:16 -08:00
Jared Wein
866e108ca6 Bug 1435105 - Vary the payment request address label according to 'shippingType'. r=mattn
MozReview-Commit-ID: 6HiraY6BbKb
2018-02-22 21:36:03 -08:00
Jared Wein
04ea30531a Bug 1440530 - Move dialog setup code out to a helper function for the webpayments mochitest-browser tests. r=mattn
MozReview-Commit-ID: 9rpN1lIjOCG
2018-02-22 17:24:59 -08:00
Jared Wein
49ccd43f99 Bug 1429189 - Show shipping address errors on the summary screen. r=mattn
MozReview-Commit-ID: LaXrvWliWna
2018-02-21 14:16:35 -08:00
Jared Wein
55af4711a8 Bug 1435101 - Wrap some lines to under 100 characters to make eslint happy. r=MattN
MozReview-Commit-ID: 4gzdA7C5krr
2018-02-21 14:41:57 -08:00
Jared Wein
42cab7904a Bug 1435101 - Only show the shipping options and shipping address if requestShipping is true. r=MattN
MozReview-Commit-ID: 4PiQyHr3pDr
2018-02-21 11:21:29 -08:00
Jared Wein
f4a208ef06 Bug 1427947 - Dispatch shippingoptionchange when the shipping option is changed. r=MattN
MozReview-Commit-ID: J8U7ln90XnZ
2018-02-15 15:03:40 -05:00
Jared Wein
90f4ea5df9 Bug 1427945 - Implement a Payment Request Shipping Option Picker. r=MattN
MozReview-Commit-ID: H7jWR0um0Py
2018-02-06 11:37:34 -05:00
Sam Foster
b3ad4fc298 Bug 1434508 - better serialization of paymentrequest data. r=MattN
* Add a serializeRequest method to paymentDialogWrapper to correctly serialize the nsIArray values
* Test results of serializing a request with multiple displayItems, shippingOptions, paymentMethods and modifiers

MozReview-Commit-ID: DTqzTAjvdxq
2018-01-31 16:19:49 -08:00
Matthew Noorenberghe
1ed805d0a8 Bug 1429195 - Send the selected payment card to the wrapper and DOM. r=jaws
MozReview-Commit-ID: 8SqXrnvenGB
2018-02-08 13:23:23 -08:00
Jared Wein
bb53368e11 Bug 1434443 - Send the shippingAddress back to the webpage as part of the PaymentResponse. r=MattN
MozReview-Commit-ID: 4K8XpxkgdqB
2018-01-31 16:17:15 -05:00
Matthew Noorenberghe
85bcaecbdd Bug 1434839 - Rename PaymentDialog to paymentDialogWrapper to reduce confusion. r=jaws
MozReview-Commit-ID: 6o8B7bHy9fo
2018-02-01 14:40:29 -08:00
George Dan, Ryan Neilsen, Dylan Turner
61369dbaa9 Bug 1387632: Rename ProfileStorage module to FormAutofillStorage. r=MattN 2018-01-30 14:44:59 -08:00
Kris Maglione
5298bb7ac5 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
5e845929cf Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
3aa3c6fff8 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Matthew Noorenberghe
35b78f9af0 Bug 1387221 - Use registerCleanupFunction not on 'SimpleTest' to workaround bug 1432690. r=jaws
MozReview-Commit-ID: GWuhAu6lPg4
2018-01-23 18:26:27 -08:00
Matthew Noorenberghe
24a0998a41 Bug 1387221 - Connect the shipping address picker with autofill address storage. r=jaws
MozReview-Commit-ID: DVujZR0ksV6
2018-01-23 16:44:56 -08:00
Matthew Noorenberghe
d76b085d7c Bug 1423053 - Support accepting a payment request from the UI (with dummy data). r=jaws
MozReview-Commit-ID: 8OZzdvy1as
2017-12-20 19:02:51 -05:00
Brindusan Cristian
f6efe77cac Backed out 2 changesets (bug 1423053) for ESlint failure on /toolkit/components/payments/content/PaymentDialog.js r=backout on a CLOSED TREE
Backed out changeset 131e43affb8f (bug 1423053)
Backed out changeset 04fc5cd20916 (bug 1423053)
2017-12-21 00:59:25 +02:00
Matthew Noorenberghe
b2e401cf7d Bug 1423053 - Support accepting a payment request from the UI (with dummy data). r=jaws
MozReview-Commit-ID: 8OZzdvy1as
2017-12-20 16:58:56 -05:00
Bill McCloskey
142c9a9dbb Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel
26ac595cba Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
427710d960 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
81b4b85d01 Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
a0f07d3df7 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Geoff Brown
ee02047123 Bug 1418385 - Skip test browser_show_dialog.js on win/debug for intermittent leaks; r=me, a=test-only 2017-11-30 10:12:53 -07:00
Matthew Noorenberghe
07a0b87df2 Bug 1417749 - Create a currency-amount Custom Element. r=marcosc
MozReview-Commit-ID: 1XF7UqvhQSy
2017-11-16 21:58:29 -08:00
Mark Banner
af3baeea57 Bug 1371293 - Fix instances of space-before-function-paren failures after ESLint 4 upgrade. r=mossop
MozReview-Commit-ID: 5XfdCSDjLEG
2017-11-06 13:46:21 +00:00