Commit Graph

104 Commits

Author SHA1 Message Date
Adrian Wielgosik
65b770c17d Bug 1418078 - Convert JS users of nsIDOMHTMLInputElement. r=bz
MozReview-Commit-ID: 55aIiNHS0xs
2018-04-18 22:29:50 +02: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
Matthew Noorenberghe
d75aa46e45 Bug 1435274 - Stop form autofilling if the master password prompt is cancelled. r=johannh
MozReview-Commit-ID: HnFbcWYX6QL
2018-02-02 21:42:31 -08:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01: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
steveck-chung
9e339c35ed Bug 1426652 - Allow the form with non-autocomplete-attr cc-number and cc-name as valid credit card form, r=lchang
MozReview-Commit-ID: 8eqJUSYyPXr
2018-01-10 15:50:46 +08:00
Sean Lee
c2dd00ca74 Bug 1417834 - Part 2: Implement FormAutofillCreditCardSection and FormAutofillAddressSection inhertied from FormAutofillSection. r=lchang,ralin
MozReview-Commit-ID: 4i4suqQhUA1
2017-12-16 13:20:48 -06:00
Ray Lin
563e92015c Bug 1423805 - Handle auto-filled input correctness upon target set instead of section-level. r=lchang
MozReview-Commit-ID: K79dmtJ2aFy
2017-12-07 15:09:36 +08:00
Sean Lee
44eb546806 Bug 1417803 - Part 2: Add a underscore to the private functions. r=lchang,ralin
MozReview-Commit-ID: K8FLWgojZrw
2017-12-11 15:39:00 +08:00
Sean Lee
2e3e3addd9 Bug 1417803 - Part 1: Use activeSection to record the current focused field or section. r=lchang,ralin
MozReview-Commit-ID: 4mhmTcJOOz2
2017-12-05 14:11:36 +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
4952906f9b Bug 1417803 - Part 2: Add a underscore to the private functions. r=lchang,ralin
MozReview-Commit-ID: K8FLWgojZrw
2017-12-11 15:39:00 +08:00
Sean Lee
ab4e7afcc7 Bug 1417803 - Part 1: Use activeSection to record the current focused field or section. r=lchang,ralin
MozReview-Commit-ID: 4mhmTcJOOz2
2017-12-05 14:11:36 +08:00
Luke Chang
d3269c644e Bug 1422404 - [Form Autofill] Adapt profiles to the maxlength restriction of fields. r=seanlee
MozReview-Commit-ID: 5bNqQABJy1C
2017-12-06 17:51:32 +08:00
Ray Lin
d06ad5969e Bug 1421641 - Handle event listeners in mozSystemGroup and do full field states reset when clearing populated form. r=lchang
MozReview-Commit-ID: DcYD79LeA4N
2017-11-30 16:31:44 +08:00
Ray Lin
9e0f4467a4 Bug 1415073 - Refactor records structure of form autofill submission to adapt multiple sections. r=seanlee,steveck
MozReview-Commit-ID: Fs2hgA7H5GX
2017-11-21 12:26:10 +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
Ray Lin
a168a5e98b Bug 1420169 - Move the ownership of input handler from form to section. r=lchang
MozReview-Commit-ID: FZgLNAqg1hR
2017-11-24 01:01:45 +08:00
Ray Lin
c1d3d67325 Bug 1407508 - Part 4. Implement clear populated form function for form autofill clear button. r=lchang,seanlee
With this patch, we're able to clear the populated form already. However,
we need some ways to invalidate mResults in AutoCompleteController to get
new results instead of cached one for clear button once the form has been
populated.

MozReview-Commit-ID: 8No9FXWJv0p
2017-10-16 13:52:30 +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
Sean Lee
bdf64a96fe Bug 1339731 - Refactor some duplicated codes and remove the unused method. r=lchang,ralin
MozReview-Commit-ID: 5BHR2sJBASl
2017-11-20 09:19:51 +08:00
Sean Lee
6afa97df77 Bug 1339731 - Refactor FormAutofillHandler to support multiple section machanism. r=lchang,ralin
MozReview-Commit-ID: D9g5fKTeTaL
2017-11-20 08:21:30 +08:00
Andreea Pavel
50caf0e16a Backed out 2 changesets (bug 1339731) for failing browser/extensions/formautofill/test/mochitest/test_form_changes.html r=backout on a CLOSED TREE
Backed out changeset 9faf8dcf5c6e (bug 1339731)
Backed out changeset 8492412ff6f6 (bug 1339731)
2017-11-17 17:56:44 +02:00
Sean Lee
5ab7835955 Bug 1339731 - Refactor some duplicated codes and remove the unused method. r=lchang,ralin
MozReview-Commit-ID: 459i0cUvXRz
2017-11-13 10:19:15 +08:00
Sean Lee
0305e8ce9c Bug 1339731 - Refactor FormAutofillHandler to support multiple section machanism. r=lchang,ralin
MozReview-Commit-ID: D9g5fKTeTaL
2017-10-26 17:57:36 +08:00
Kyle Machulis
f381de14a0 Bug 1408186 - Remove nsIDOMHTMLSelectElement and nsIDOMHTMLOptionsCollection; r=bz
MozReview-Commit-ID: Gh3JwLUtmz9
2017-10-12 16:32:25 -07:00
Luke Chang
20f00c7560 Bug 1413118 - [Form Autofill] Fill "tel-national" to a recognized "tel" field even the international format passes "maxlength". r=seanlee
MozReview-Commit-ID: KOyFeaORTWV
2017-11-02 13:17:24 +08:00
Sean Lee
6dc90913f1 Bug 1400112 - Refresh FormAutofillHandler.form when the related form is changed. r=lchang,MattN
MozReview-Commit-ID: EmSID172pWo
2017-09-15 11:32:13 +08:00
Sean Lee
782fda5b0c Bug 1406771 - Use input's placeholder to adjust the format of cc-exp. r=lchang
MozReview-Commit-ID: JGdXRwomEON
2017-10-09 17:54:07 +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
Luke Chang
fe627f4e5a Bug 1400760 - [Form Autofill] Don't popup credit card dropdown if only cc-number field is identified and without @autocomplete. r=seanlee
MozReview-Commit-ID: JGoRLx2WEBG
2017-10-09 16:22:37 +08:00
Sean Lee
6e273bd5e7 Bug 1405997 - Fill a non-autocomplete tel field with tel-national value. r=lchang
MozReview-Commit-ID: JpTqy42Y1ej
2017-10-06 02:24:48 +08:00
Luke Chang
786eb51ec7 Bug 1404531 - [Form Autofill] Features on submission should be disabled when the prefs are set to false. r=steveck
MozReview-Commit-ID: F1DfnpFUVYg
2017-09-30 18:36:10 +08:00
Sean Lee
d9ffd829a8 Bug 1401411 - All name related fields should be counted as 1 field only when creating the records. r=lchang
MozReview-Commit-ID: 468B9tlFH3p
2017-09-25 17:14:48 +08:00
Sebastian Hengst
957f57bd8f Backed out changeset 130a44290c28 (bug 1401411) for eslint failure at browser/extensions/formautofill/test/unit/test_createRecords.js:207:8 | Missing trailing comma. r=backout 2017-09-29 09:43:51 +02:00
Sean Lee
fa432cdb39 Bug 1401411 - All name related fields should be counted as 1 field only when creating the records. r=lchang
MozReview-Commit-ID: 468B9tlFH3p
2017-09-25 17:14:48 +08:00
Ray Lin
afb1ebc29f Bug 1400665 - Add a explicit check for fieldDetail to avoid calling a method of "undefined". r=lchang
MozReview-Commit-ID: EeYhje0b4c1
2017-09-19 11:34:07 +08:00
steveck-chung
56c81da788 Bug 1397636 - Collect information on how much time users spent on page with credit card forms. r=MattN
MozReview-Commit-ID: KlraQkAd0mW
2017-09-07 18:37:27 +08:00
steveck-chung
9a36192684 Bug 1341569 - Add the form created time in handler and telemetry probe for form filling duration. r=benjamin+7044,MattN
MozReview-Commit-ID: 6mU606zEtT4
2017-09-11 10:25:09 +08:00
Sebastian Hengst
4bb9ea4a7c Backed out changeset 1fe86d8df2cd (bug 1341569) for eslint failure at browser/extensions/formautofill/FormAutofillHandler.jsm:666: Missing trailing comma. r=backout 2017-09-08 15:02:02 +02:00
steveck-chung
b0db2f8cb7 Bug 1341569 - Add the form created time in handler and telemetry probe for form filling duration. r=benjamin+7044,MattN
MozReview-Commit-ID: GHqesiqDngG
2017-04-19 17:26:48 +08:00
Luke Chang
c07ae63ed0 Bug 1394854 - [Form Autofill] Identify country code from "country" attribute as well. r=MattN,steveck
MozReview-Commit-ID: FJiqFV3AOs4
2017-09-06 17:40:39 +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
steveck-chung
915be012e4 Bug 1395519 - [Form Autofill] Keep the original data when record updated via submission. r=lchang
MozReview-Commit-ID: DkVgOlTqVhH
2017-09-01 10:11:19 +08:00
Ray Lin
8f0ab95629 Bug 1395173 - Part 1. Cache computed values in form handler instance instead of prototype. r=lchang
MozReview-Commit-ID: Dwz6EmJ4VmN
2017-08-31 16:38:54 +08:00