Commit Graph

53 Commits

Author SHA1 Message Date
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
Matthew Noorenberghe
5935ff8bf3 Bug 1432952 - Add a billing address picker to the credit card add/edit form. r=jaws
MozReview-Commit-ID: 9tquQ0C7D96
2018-04-10 18:31:05 -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
Matthew Noorenberghe
bb573fef78 Bug 1428414 - Use the autofill credit card form in the Payment dialog. r=jaws
MozReview-Commit-ID: 4BjUfETLv0X
2018-03-22 20:57:13 -07:00
Matthew Noorenberghe
12ab72b8a0 Bug 1444949 - Pref-controlled console logging for unprivileged code. r=sfoster
* Default log implementation for unprivileged content
* Export methods of a ConsoleAPI instance into the content frame to replace the default log
* Initialize the content logger when the "initializeRequest" message is received

MozReview-Commit-ID: 8hiaIqf2ChX
2018-03-19 21:57:13 -07:00
Sam Foster
4660395f33 Bug 1440499 - Implement the payerName/payerEmail/payerPhone contact picker. r=MattN
* Based on original patch by MattN
* Make stored contacts available as payer data (MattN)
* Add the address-picker element to the dialog for selecting payer details from stored contacts (MattN)
* Add a field-names attribute to the payer address-picker, populated from the request paymentOptions
* Basic CSS to selectively render address fields
* Add mochitests to verify paymentOptions result in the correct payment picker behavior

MozReview-Commit-ID: Br8i5MVyeQ3
2018-03-06 14:00:05 -08:00
Csoregi Natalia
0d80765e79 Backed out 2 changesets (bug 1440499) for ESlint failure on paymentDialogWrapper.js:53. CLOSED TREE
Backed out changeset 4e2e081dad55 (bug 1440499)
Backed out changeset 479b143d8828 (bug 1440499)
2018-03-09 02:46:15 +02:00
Sam Foster
27e6efd878 Bug 1440499 - Implement the payerName/payerEmail/payerPhone contact picker. r=MattN
* Based on original patch by MattN
* Make stored contacts available as payer data (MattN)
* Add the address-picker element to the dialog for selecting payer details from stored contacts (MattN)
* Add a field-names attribute to the payer address-picker, populated from the request paymentOptions
* Basic CSS to selectively render address fields
* Add mochitests to verify paymentOptions result in the correct payment picker behavior

MozReview-Commit-ID: Br8i5MVyeQ3
2018-03-06 14:00:05 -08: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
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
Jonathan Guillotte-Blouin
e8cbdf3700 Bug 1442757 - use sendMessageToContent helper. r=MattN
MozReview-Commit-ID: Ir3PUTopIJo
2018-03-02 18:10:46 -05: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
Matthew Noorenberghe
1aea57c147 Bug 1429205 - Implement the Payment Request processing screen. r=jaws
MozReview-Commit-ID: Kb4oRFV0SWA
2018-02-22 21:29:57 -08:00
Matthew Noorenberghe
4300aa53f3 Bug 1429205 - Add a sendMessageToContent helper for paymentDialogWrapper. r=jaws
MozReview-Commit-ID: FgeQaOR5yno
2018-02-20 15:56:33 -08:00
Andreea Pavel
fafc6c1b06 Backed out 2 changesets (bug 1429205) for failing toolkit/components/payments/test/mochitest/test_payment_dialog.html on a CLOSED TREE
Backed out changeset 3f8c4cb7982f (bug 1429205)
Backed out changeset ced4c7041d8e (bug 1429205)
2018-02-23 02:45:53 +02:00
Matthew Noorenberghe
4093d0493f Bug 1429205 - Implement the Payment Request processing screen. r=jaws
MozReview-Commit-ID: 8MZAtjxRHEa
2018-02-22 15:19:52 -08:00
Matthew Noorenberghe
18da464f36 Bug 1429205 - Add a sendMessageToContent helper for paymentDialogWrapper. r=jaws
MozReview-Commit-ID: FgeQaOR5yno
2018-02-20 15:56:33 -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
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
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -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
3fc2b2a708 Bug 1434839 - Button to debug the remote payment frame. ?debug=1 to toggle the debug console. r=jaws
MozReview-Commit-ID: EVYExRDwtaX
2018-02-01 14:37:45 -08: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
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
Jonathan Guillotte-Blouin
3dbc643032 Bug 1383300 - Show payment request total and origin in the dialog. r=MattN
MozReview-Commit-ID: 9taFJYmQnBP
2017-10-12 21:31:03 -04:00
Phil Ringnalda
f30dfbf0c8 Backed out 5 changesets (bug 1383300) for leaks
CLOSED TREE

Backed out changeset 3879080f60c2 (bug 1383300)
Backed out changeset bc8f24ca5bb3 (bug 1383300)
Backed out changeset 908e2e2a759b (bug 1383300)
Backed out changeset 71b84c813705 (bug 1383300)
Backed out changeset 34fa5b4d4d59 (bug 1383300)

MozReview-Commit-ID: BVz3KG0Qixi
2017-11-03 20:13:58 -07:00
Jonathan Guillotte-Blouin
1b4ac6dbfe Bug 1383300 - Show payment request total and origin in the dialog. r=MattN
MozReview-Commit-ID: 9taFJYmQnBP
2017-10-12 21:31:03 -04:00
Sebastian Hengst
9a3d033914 Backed out changeset 73115b197e08 (bug 1383300) for ESlint failure at toolkit/components/payments/test/PaymentTestUtils.jsm:26 and failing own browser_host_name.js. r=backout 2017-10-21 09:47:44 +02:00
Jonathan Guillotte-Blouin
d1ea7389a2 Bug 1383300 - Show payment request total and origin in the dialog. r=MattN
MozReview-Commit-ID: 9taFJYmQnBP
2017-10-12 21:31:03 -04:00
Matthew Noorenberghe
47b2073aab Bug 1402210 - Add payment UI documentation and do minor code cleanup. r=marcosc
MozReview-Commit-ID: Cpn5mKcEZGo
2017-09-21 21:35:24 -07:00
Jonathan Guillotte-Blouin
922abd31cf Bug 1382388 - Make the Payments Dialog unprivileged & add "abort" support. r=MattN
MozReview-Commit-ID: IXexL4ju2Fj
2017-09-21 13:49:41 -07:00
Sebastian Hengst
fc0dc0f3b9 Backed out changeset 3d10672e7e2b (bug 1382388) for failing touched browser-chrome test browser_show_dialog.js. r=backout 2017-08-12 13:46:32 +02:00
Matthew Noorenberghe
c1930a756b Bug 1382388 - Make the Payments Dialog unprivileged & add "abort" support. r=MattN
MozReview-Commit-ID: IXexL4ju2Fj
2017-07-21 18:34:33 -07:00
Jonathan Guillotte-Blouin
1b475d6883 Bug 1381186 - open/close stub dialog on (show/abort)Payment. r=MattN
MozReview-Commit-ID: K3YyFlIttjD
2017-07-17 13:29:21 -07:00