Commit Graph

82 Commits

Author SHA1 Message Date
Kris Maglione
e612c6d6c3 Bug 1470333: Part 1 - Optimize debug logging statements in FormAutoFillContent. r=MattN
These cause us to load Console.jsm and create a ConsoleAPI instance in every
content process, which is expensive both in terms of memory and startup
performance.

Checking the log level before we touch the console object is much cheaper,
in terms of both memory and performance.

MozReview-Commit-ID: 19f0ggAda2J
2018-06-30 15:55:18 -07:00
Coroiu Cristina
dfd438c078 Backed out 2 changesets (bug 1470333) for xpcshell failures at browser/extensions/formautofill/test/unit/test_getFormInputDetails.js
Backed out changeset dbea1942a32f (bug 1470333)
Backed out changeset 440ee3fab72a (bug 1470333)
2018-07-05 00:24:27 +03:00
Kris Maglione
1b8c3b1953 Bug 1470333: Part 1 - Optimize debug logging statements in FormAutoFillContent. r=MattN
These cause us to load Console.jsm and create a ConsoleAPI instance in every
content process, which is expensive both in terms of memory and startup
performance.

Checking the log level before we touch the console object is much cheaper,
in terms of both memory and performance.

MozReview-Commit-ID: 19f0ggAda2J
2018-06-30 15:55:18 -07: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
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
Matthew Noorenberghe
bd4a31ed60 Bug 1433876 - Don't assume countries have sub_keys in FormAutofillUtils. r=johannh
MozReview-Commit-ID: DDgvSqB8fKq
2018-02-07 22:22:53 -08:00
Matthew Noorenberghe
5e398c7259 Bug 1433876 - Test form submission with autofill in country without sub_keys. r=johannh
MozReview-Commit-ID: En5MlYkgXR1
2018-04-22 15:48:07 -07:00
Zibi Braniecki
ef4ccfd0e0 Bug 1449505 - Migrate FormAutofill to use mozIntl.getLocaleDisplayNames. r=MattN
MozReview-Commit-ID: FuQnIB2Tp5I
2018-04-01 15:18:25 +02:00
Andreea Pavel
77554651f5 Backed out 9 changesets (bug 1449505) for failing xpcshell at browser/extensions/formautofill/test/unit/test_addressRecords.js on a CLOSED TREE
Backed out changeset e96c92f80c09 (bug 1449505)
Backed out changeset 760e4d29af7e (bug 1449505)
Backed out changeset e82c5152cc17 (bug 1449505)
Backed out changeset 07143ec143ae (bug 1449505)
Backed out changeset 75a7dee8e060 (bug 1449505)
Backed out changeset a58126ed4b3f (bug 1449505)
Backed out changeset f0b4429eedff (bug 1449505)
Backed out changeset 4bf3befa991d (bug 1449505)
Backed out changeset 398d8addfbd8 (bug 1449505)
2018-04-11 10:07:42 +03:00
Phil Ringnalda
96d0e7b9fb Bug 1449505 followup, placate eslint on a CLOSED TREE 2018-04-10 23:10:46 -07:00
Zibi Braniecki
db5667f35c Bug 1449505 - Migrate FormAutofill to use mozIntl.getLocaleDisplayNames. r=MattN
MozReview-Commit-ID: FuQnIB2Tp5I
2018-04-01 15:18:25 +02: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
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
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
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
f7eae14b92 Bug 1417834 - Part 1: Seperate the fields of Address and Credit Card into the different sections. r=lchang,ralin
MozReview-Commit-ID: 8n9AnGv6Zna
2017-12-11 00:54:06 +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
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
steveck-chung
39e516c028 Bug 1418884 - [Form Autofill] Make getAbbreviatedSubregionName/findOption supports more locales. r=lchang,scottwu
MozReview-Commit-ID: HD8xFNHJwDR
2017-11-24 17:04:00 +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
steveck-chung
c0dd07cf39 Bug 1417818 - Add CA/DE metadata from libaddressinput. r=lchang,scottwu
MozReview-Commit-ID: 56eHfN8DaUg
2017-11-20 18:07:50 +08:00
Mark Banner
5ab2bd1b7a Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2
2017-11-28 19:21:33 +00: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
bbf578188e Bug 1022925 - Part 2: Move alternative name to extension file. r=lchang,scottwu
MozReview-Commit-ID: 4rFagXU5iit
2017-11-10 18:36:22 +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
Csoregi Natalia
f4b3da1b4c Backed out 2 changesets (bug 1022925) for failing browser/base/content/test/static/browser_all_files_referenced.js r=backout on a CLOSED TREE
Backed out changeset edbf6d586c9a (bug 1022925)
Backed out changeset 44f9fc2f03bb (bug 1022925)
2017-11-21 17:00:09 +02:00
steveck-chung
aacbf95af1 Bug 1022925 - Part 2: Move alternative name to extension file. r=lchang,scottwu
MozReview-Commit-ID: 4rFagXU5iit
2017-11-10 18:36:22 +08:00
steveck-chung
c1d943da29 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
e349a1e5e3 Bug 1407508 - Part 1. Expose field states constants in FormAutofillUtils.jsm. r=lchang
MozReview-Commit-ID: G1jyiub2pRS
2017-10-11 16:41:22 +08:00
Luke Chang
45eebf7ff2 Bug 1413120 - [Form Autofill] Accept credit card numbers with hyphens. r=ralin
MozReview-Commit-ID: BFomE2mTG84
2017-11-07 20:07:32 +08:00
Luke Chang
7124698a22 Bug 1414189 - [Form Autofill] Add a pref to determine whether a user has ever used credit card autofill. r=steveck
MozReview-Commit-ID: BMqPiN1tv80
2017-11-03 18:23:48 +08:00
Scott Wu
44e4725b40 Bug 1411509 - Add the country address format parser. r=lchang,steveck
MozReview-Commit-ID: 9ViNsQYeO0d
2017-10-27 15:17:58 +08:00
Scott Wu
e54a496f32 Bug 1412230 - Replace the word "Company" with "Organization". r=flod,lchang
MozReview-Commit-ID: 6e8dm5QMbxk
2017-10-27 16:20:44 +08:00
Luke Chang
47361e3b4a Bug 1360694 - [Form Autofill] Cap the length of profile fields saved in storage. r=ralin
MozReview-Commit-ID: I9x0tnGEt1Y
2017-10-19 12:06:40 +08:00
Sean Lee
7358611867 Bug 1409306 - Check the existence of the profile's cc-exp-month and cc-exp-year in findCreditCardSelectOption. r=lchang
MozReview-Commit-ID: 5gBLJcWXkGT
2017-10-18 12:21:00 +08:00
Scott Wu
cb89eccec5 Bug 1407530 - Update formautofill.properties string IDs and localization notes. r=flod,lchang
MozReview-Commit-ID: uHWhQmrVgu
2017-10-11 18:19:35 +08:00
Ray Lin
e002621e25 Bug 1392940 - Add expiration date parser to detect cc-exp family fields. r=MattN,seanlee
MozReview-Commit-ID: 3HB93QAdCXw
2017-09-04 17:18:07 +08:00
Scott Wu
232eedeea2 Bug 1367322 - Preferences search support for credit card autofill. r=evanxd,lchang
MozReview-Commit-ID: L8sSQkQUvq4
2017-09-14 18:18:24 +08:00
Scott Wu
b29289af0c Bug 1367322 - Preferences search support for address autofill. r=evanxd,lchang
MozReview-Commit-ID: 8r0BhqAPC0A
2017-09-14 18:17:53 +08:00
Scott Wu
cb9033ba27 Bug 1399382 - Add a pref to hide credit card autofill feature, r=lchang
MozReview-Commit-ID: 2GIOrLBmFKR
2017-09-13 18:50:39 +08:00
Sean Lee
f5616aa555 Bug 1392528 - Ignore autocomplete="off" attribute for Credit Card related fields. r=MattN
MozReview-Commit-ID: BMdySEURsr8
2017-09-05 16:42:38 +08:00
Luke Chang
7747120119 Bug 1394139 - [Form Autofill] Don't save obviously bogus phone numbers, r=MattN
MozReview-Commit-ID: Bc1zJEmKFuh
2017-08-31 19:08:50 +08:00
Luke Chang
59ee552abf Bug 1395019 - [Form Autofill] Part 2: Support filling in "cc-given-name", "cc-additional-name" and "cc-family-name". r=seanlee
MozReview-Commit-ID: FslTHp7j1Wz
2017-08-30 11:36:47 +08:00