Sam Foster
bd65a65911
Bug 1444240 - Filter address options to eliminate dupes based on fields to display. r=MattN
...
* Add an observed attribute to address-picker to render when address-fields is changed
* Add a filter step to address-picker, to exclude addresses that represent duplicates given the requested fields
* Filter out addresses that do not contain one or more of the requested fields
* Use a default set of fields to establish duplicates and meet the bar for adding an address as an option
MozReview-Commit-ID: 7lg4suNHv60
2018-03-09 11:49:21 -08:00
Dave Townsend
baa5890074
Bug 1421070: Always enable custom elements in chrome. r=smaug, rs=MattN
...
This allows custom elements to work in any document in the parent process that
allows XUL and XBL. The test takes the easy option of moving the existing XUL
custom element test to a run with the custom element pref disabled.
MozReview-Commit-ID: CMiLzmp60jA
2017-10-20 11:02:33 -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
Jared Wein
6b4640b579
Bug 1429213 - Implement the 'unknown' screen for when the merchant rejects the payment. r=MattN
...
MozReview-Commit-ID: KHf0NtE2Kir
2018-03-20 18:38:28 -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
Jonathan Guillotte-Blouin
59b158faff
Bug 1442078 - Modify UI tests that were broken by the change to the "show" specs. r=MattN
...
MozReview-Commit-ID: 3KlcOOgarkW
2018-03-08 23:15:41 -05: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
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
Sam Foster
1bba2779d4
Bug 1440499 - Add debug options for the payer details and shipping requested. r=MattN
...
MozReview-Commit-ID: FnKn639SvzR
2018-03-01 11:46:30 -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
Sam Foster
bb0615f648
Bug 1440499 - Add debug options for the payer details and shipping requested. r=MattN
...
MozReview-Commit-ID: FnKn639SvzR
2018-03-01 11:46:30 -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
Jared Wein
0e07988c6a
Bug 1429213 - Implement the 'unknown' screen for when the merchant rejects the payment. r=MattN
...
MozReview-Commit-ID: KHf0NtE2Kir
2018-03-02 15:57:36 -05:00
Henri Sivonen
19063efdfe
Bug 1443732 - Document that e10s is required for Web Payments. r=MattN.
...
MozReview-Commit-ID: LaXHOm15mxi
2018-03-07 10:09:02 +02: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
Jonathan Guillotte-Blouin
e8cbdf3700
Bug 1442757 - use sendMessageToContent helper. r=MattN
...
MozReview-Commit-ID: Ir3PUTopIJo
2018-03-02 18:10:46 -05:00
Sam Foster
4c7ec640b0
Bug 1442724 - Use keydown to trigger display of payments debugging panel. r=MattN
...
MozReview-Commit-ID: 3OHrEqEU4XW
2018-03-02 11:08:15 -08:00
Jared Wein
9b697fce4c
Bug 1429207 - Implement the 'failure' screen for when the merchant rejects the payment. r=MattN
...
MozReview-Commit-ID: JfsMQ8EwhqW
2018-02-27 22:09:34 -05:00
Jared Wein
0d778b577d
Bug 1429211 - Implement the 'success' screen for when the merchant accepts the payment. r=MattN
...
MozReview-Commit-ID: 5AAKzKMqXVx
2018-02-27 21:07:45 -05:00
Matthew Noorenberghe
bfff4c3159
Bug 1441692 - Add error option to the PaymentRequest debug panel. r=jaws
...
MozReview-Commit-ID: 4lNi0B7tkyu
2018-02-27 14:37:15 -08: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
Mark Banner
910da570a0
Bug 1440379 - Tidy up ESlint no-unused-vars definitions wrt Ci/Cu/Cr/Cc usage for varsIgnorePattern. r=florian
...
MozReview-Commit-ID: HmliR8iNRDq
2018-02-22 16:55:36 +00: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
Florian Quèze
f1a55f73f8
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Jared Wein
ec4d302993
Bug 1435105 - Rename 'shippingRequested' class to 'shipping-related' to make the name clearer as well as follow file conventions. r=mattn
...
MozReview-Commit-ID: 6Dgzt69fFFq
2018-02-22 21:39:59 -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
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
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
7800748ebe
Bug 1434415 - Move all hard-coded PaymentRequest strings to localization files. r=MattN
...
MozReview-Commit-ID: 4dhHxaDjqgM
2018-02-15 16:12:04 -05: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
5ed4f86032
Bug 1437879 - Set the currency-amount properties as attributes on the shipping-option so they get copied to the cloned option. r=MattN
...
MozReview-Commit-ID: 9rngciIXPkX
2018-02-13 10:24:25 -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
Matthew Noorenberghe
9828bc79ff
Bug 1429195 - Implement and use a <payment-method-picker> custom element. r=jaws
...
MozReview-Commit-ID: 9Ag7debD4IB
2018-02-07 16:11:11 -08:00