Jared Wein
c653c8c236
Bug 1427961 - Put the asterisk next to required fields. r=MattN
...
MozReview-Commit-ID: 9KMFB9bS9hD
2018-06-20 19:06:38 -04:00
Jared Wein
e0f9bc267b
Bug 1427961 - Regular expression validation for zip/postal codes. r=MattN
...
MozReview-Commit-ID: 208vx9SBcrq
2018-06-20 17:46:05 -04:00
Matthew Noorenberghe
4dd71f263a
Bug 1466720 - Don't reload l10n.js in the PaymentRequest scope on a refresh. r=sfoster
...
There was an error trying to redefine variables from l10n.js via loadSubScript. We really only need
it loaded once like a frame script but I had to fix the l10n.js code to handle this properly.
MozReview-Commit-ID: EbNrEaRQJbs
2018-06-11 00:03:47 -07:00
Jared Wein
b0fc9890f1
Bug 1461477 - Create a CreditCard.jsm to consolidate various credit card handling and validation. r=MattN
...
MozReview-Commit-ID: 3tJdzU3hBvY
2018-05-15 12:41:35 -04:00
Csoregi Natalia
6a9464cac1
Backed out changeset 9b26de736798 (bug 1461477) for multiple CreditCards failures e.g. browser_manageCreditCardsDialog.js . CLOSED TREE
2018-06-01 21:04:39 +03:00
Jared Wein
d7d5af6823
Bug 1461477 - Create a CreditCard.jsm to consolidate various credit card handling and validation. r=MattN
...
MozReview-Commit-ID: 3tJdzU3hBvY
2018-05-15 12:41:35 -04:00
Jared Wein
33bb7942c7
Bug 1429180 - Option to use a new billing address when adding a new payment method. r=MattN
...
MozReview-Commit-ID: 5LrpUw1LdT3
2018-05-10 15:12:01 -04:00
Matthew Noorenberghe
b8fd767583
Bug 1463292 - Use form autofill's l10n.js in the PaymentRequest dialog. r=sfoster
...
MozReview-Commit-ID: GUX3Gia293X
2018-05-22 10:37:54 -07:00
mbkupfer
f496b3c400
Bug 1455087 - Support deleting autofill records with the delete key. r=MattN
...
MozReview-Commit-ID: FiqauWe5oDh
2018-04-19 13:06:59 -07:00
Matthew Noorenberghe
8cab94534a
Bug 1455151 - Support subdialog sizing of HTML documents from a stylesheet and use it for autofill edit dialogs. r=jaws
...
MozReview-Commit-ID: GeHPhFTnCIz
2018-04-18 16:12:15 -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
80db3e4717
Bug 1428414 - Support re-using autofill edit forms for different records. r=jaws
...
MozReview-Commit-ID: LnpaX9oAo1A
2018-03-22 20:31:52 -07:00
Matthew Noorenberghe
578163b125
Bug 1427954 - Pass FormAutofillUtils.isCCNumber to EditCreditCard. r=sfoster
...
The point of this is to remove dependencies on privileged code from autofillEditForms.js so it can
be used in the unprivileged PaymentRequest dialog. The PaymentRequest dialog will be able to inject
the privileged APIs in a different way.
MozReview-Commit-ID: 34PvRxzWcSr
2018-03-14 18:11:03 -07:00
Matthew Noorenberghe
1326bbbdf4
Bug 1427954 - Pass getFormFormat to EditAddress. r=sfoster
...
The point of this is to remove dependencies on privileged code from autofillEditForms.js so it can
be used in the unprivileged PaymentRequest dialog. The PaymentRequest dialog will be able to inject
the privileged APIs in a different way.
MozReview-Commit-ID: 6Kzq94m5hnZ
2018-03-14 18:11:22 -07:00
Matthew Noorenberghe
c4094215a1
Bug 1427954 - Pass supported and default countries to EditAutofillForm and move loadInitialValues. r=sfoster
...
The point of this is to remove dependencies on privileged code from autofillEditForms.js so it can
be used in the unprivileged PaymentRequest dialog. The PaymentRequest dialog will be able to inject
the privileged APIs in a different way.
MozReview-Commit-ID: 4KITOMz7Uxh
2018-03-14 18:11:36 -07:00
Matthew Noorenberghe
1597ac3676
Bug 1427954 - Move autofill edit dialog l10n to mutation observers. r=sfoster
...
MozReview-Commit-ID: 5jSj0xPBTQj
2018-03-14 18:12:00 -07:00
Matthew Noorenberghe
28196f5a82
Bug 1427954 - Remove string bundle references from autofillEditForms.js. r=sfoster
...
This is a step on the path to making it unpriveleged.
MozReview-Commit-ID: 3DSYvM2Pje9
2018-03-14 18:12:15 -07:00
Matthew Noorenberghe
79e4b011ea
Bug 1427954 - Remove unused uninit code from editDialog.js and autofillEditForms.js. r=sfoster
...
MozReview-Commit-ID: 9GP1gsycgJo
2018-03-14 17:31:56 -07:00
Matthew Noorenberghe
447c316378
Bug 1427954 - Split autofill dialog logic from field logic. r=sfoster
...
We want to re-use the field/form logic but not the dialog-specific logic so this separates them out.
Custom Elements aren't enabled by default yet so we can't use them yet.
MozReview-Commit-ID: 60hMpgSOmpp
2018-03-14 18:12:38 -07:00
Matthew Noorenberghe
85cea5f35d
Bug 1427954 - Don't pass child elements into the constructor. r=sfoster
...
MozReview-Commit-ID: 2iqHks0yD0v
2018-03-14 18:12:58 -07:00
Matthew Noorenberghe
6983623bf5
Bug 1427954 - Remove unused Services and XPCOMUtils imports in editDialog.js. r=sfoster
...
MozReview-Commit-ID: F4ryqNOYMn6
2018-03-14 17:06:42 -07: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
Ian Moody
a54a2601c7
Bug 1432070 - Block context menu in Autofill preference dialogs, except on text fields. r=MattN,scottwu
...
The context menu shown is the standard web page one, and so inappropriate for
inside preferences. Keep it on text fields so text editing commands are still
available, though unfortunately so are "This Frame", "Inspect Element", and
"Add a Keyword for this Search".
MozReview-Commit-ID: 7L012CZ4BhR
2018-01-21 22:50:07 +00: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
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
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
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
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
Sean Lee
4efa97cfaf
Bug 1428292 - Determine tel-extension in telephone parser only. r=lchang
...
MozReview-Commit-ID: KRArH8kxuu0
2018-01-08 16:15:51 +08:00
Sean Lee
7d66a493c5
Bug 1428732 - Add the credit card related rules for recongnizing cc-exp-year, cc-exp-month, and cc-number for German web sites. r=lchang
...
MozReview-Commit-ID: Cj8YM6XEEZd
2018-01-10 16:15:52 +08:00
Scott Wu
f0178cc239
Bug 1416503 - Add RTL support for Form Autofill preference dialogs. r=lchang
...
MozReview-Commit-ID: BgvAOxWBLf4
2018-01-10 12:09:49 +08:00
Sean Lee
758c5a5a86
Bug 1423204 - Improve the address line parser to detect address-line* more correctly. r=lchang
...
MozReview-Commit-ID: JHqKSnBZsVV
2018-01-07 15:42:41 +08:00
Scott Wu
1e0139fa29
Bug 1421538 - Set country field to default country when creating new addresses. r=lchang
...
MozReview-Commit-ID: 5Bd6TdZOej
2018-01-03 17:50:44 +08:00
Ray Lin
1aafb817b6
Bug 1423873 - Rename the label of clear form button to "Clear Autofill Form". r=lchang
...
MozReview-Commit-ID: LeKwTt9mdYW
2018-01-03 16:26:04 +08:00
Sean Lee
39171fd5c7
Bug 1417803 - Part 3: Use _activeItems to record the information of the current focused input. r=lchang,ralin
...
MozReview-Commit-ID: 4j72RXk2Wpb
2017-12-11 19:28:47 +08:00
Csoregi Natalia
85ca2134cd
Backed out 3 changesets (bug 1417803) for failing browser/browser_device_width.js on Linux Stylo Disabled Debug platform. r=backout on a CLOSED TREE
...
Backed out changeset af5b96ec9db0 (bug 1417803)
Backed out changeset cd5e96cab7c5 (bug 1417803)
Backed out changeset fe9d556bdef4 (bug 1417803)
2017-12-18 21:23:05 +02:00
Sean Lee
bbaad33ff4
Bug 1417803 - Part 3: Use activeField to record the current focused input. r=lchang,ralin
...
MozReview-Commit-ID: 4j72RXk2Wpb
2017-12-11 19:28:47 +08:00
Ray Lin
fbefb2fd83
Bug 1415022 - Provide additional description message that help user to indicate the profile to be operated. r=seanlee,steveck
...
MozReview-Commit-ID: 1QNaIQJJZ18
2017-12-01 16:22:01 +08:00
Scott Wu
180814fdae
Bug 1423836 - Make credit card month/year select flexible, and remove unnecessary height by setting resizable=no. r=lchang
...
MozReview-Commit-ID: 7IiuIYT7fWK
2017-12-07 18:02:55 +08:00
Scott Wu
7c6b72fff4
Bug 1383687 - Order edit dialog fields based on country selected. r=lchang,steveck
...
MozReview-Commit-ID: 1qPxvHhNGtK
2017-11-03 16:24:30 +08:00
Scott Wu
a027f05cd7
Bug 1420883 - Change setting width to min-width for manage addresses dialog. r=lchang
...
MozReview-Commit-ID: E1jjtfSdjZs
2017-11-28 15:21:47 +08:00
Scott Wu
c853e67f98
Bug 1419819 - Remove html|button padding rule from common stylesheet. r=jaws
...
Bug 1413162 added the html|button padding rule intended to normalize the way buttons are styled in preferences, but ended up causing problems for buttons outside of preferences, especially because !important keyword is used. This bug reverts that change.
MozReview-Commit-ID: FFQt2k6mCHE
2017-11-30 11:24:44 +08:00
Scott Wu
d0daefcea9
Bug 1417843 - Add supportedCountries pref to configure which countries are supported. r=lchang,steveck
...
MozReview-Commit-ID: 13m1ezHcR8n
2017-11-17 17:15:56 +08:00
steveck-chung
811e62adac
Bug 1022925 - Part 1: move addressReferences to addressmetadata folder. r=lchang,scottwu
...
MozReview-Commit-ID: 4vRodOAyDdB
2017-11-10 14:39:44 +08:00
Ray Lin
3e738079ad
Bug 1417775 - Always use short version preferences string on form autofill dropdown footer. r=lchang
...
MozReview-Commit-ID: 2PTkU8xveoU
2017-11-21 16:03:30 +08:00