Commit Graph

56 Commits

Author SHA1 Message Date
Boris Zbarsky
4cf86a74eb Bug 1455676 part 16. Mostly stop using nsIDOMNode in browser/. r=mossop 2018-05-29 22:58:50 -04: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
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
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
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
Sean Lee
a60e46d762 Bug 1416664 - Move the duplication logic to _trimFieldDetails function. r=lchang,ralin 2017-11-27 16:42:12 +08:00
Sean Lee
da087cfc57 Bug 1416664 - Identify the sections for the fields without the section part of autocomplete attr. r=lchang,ralin
MozReview-Commit-ID: 7La8Bn0TF1y
2017-11-22 15:57:33 +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
Sean Lee
de792b5b80 Bug 1416665 - Deduplicate the detail with the same field name even they are in the different contactType. r=lchang,ralin
MozReview-Commit-ID: bKGSOUJOCg
2017-11-17 14:18:34 +08:00
Sean Lee
920ca83ca5 Bug 1415077 - Classify the field details with autocomplete attr into multiple groups. r=lchang,ralin
MozReview-Commit-ID: lt8AVNzpRk
2017-11-07 18:08:44 +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
Ray Lin
c1dc805990 Bug 1392947 - Add more credit card expiration date matching patterns to enhance prediction. r=lchang,seanlee
MozReview-Commit-ID: 3WyU6wSC8wD
2017-11-15 17:33:01 +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
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
Ray Lin
fcf319e874 Bug 1411990 - Add consecutive cc-exp-* regex check in form autofill heuristics to enhance expiration date pattern matching. r=lchang,seanlee
MozReview-Commit-ID: 5P2nSSJd2Dl
2017-11-10 01:28:43 +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
Ray Lin
c9575b1564 Bug 1411190 - Collect and parse only eligible fields in form autofill heuristics. r=lchang,seanlee
MozReview-Commit-ID: GWp0cU5jt6k
2017-10-25 09:47:58 +08:00
Sean Lee
779cc67693 Bug 1407759 - SELECT element supports some fieldNames only. (e.g. cc-exp*, country, address-level*) r=lchang,ralin
MozReview-Commit-ID: KtGO4TseJwH
2017-10-11 17:12:09 +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
Sean Lee
655a382e25 Bug 1400147 - Ignore the credit card regexps when extensions.formautofill.creditCards.available is false. r=lchang
MozReview-Commit-ID: 2WPBtJrKGJL
2017-09-20 08:10:38 +08:00
Ryan VanderMeulen
b9452453a5 Backed out changeset 6918dea06b7b (bug 1400147) for causing various form autofill heuristics xpcshell failures on Beta 57. 2017-09-20 21:52:23 -04:00
Sean Lee
9018e2d990 Bug 1400147 - Ignore the credit card regexps when extensions.formautofill.creditCards.available is false. r=lchang
MozReview-Commit-ID: 2WPBtJrKGJL
2017-09-20 08:10:38 +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
b88eaa5e17 Bug 1392888 - [Form Autofill] Avoid using getElementsByTagName. r=MattN
MozReview-Commit-ID: 7Km6xkR4ffq
2017-08-24 10:40:48 +08:00
Luke Chang
c7c115c622 Bug 1387988 - [Form Autofill] Optimize "findLabelElements" function. r=MattN
MozReview-Commit-ID: EGtBzv2GZFj
2017-08-08 19:01:40 +08:00
Luke Chang
046894fc08 Bug 1387988 - [Form Autofill] Move "findLabelElements" function to FormAutofillHeuristics.jsm. r=MattN
MozReview-Commit-ID: 93c9R7JaCLA
2017-08-07 18:34:27 +08:00
Sean Lee
0347be6f63 Bug 1383058 - Always adopt the info from the autocomplete attribute for autofill. r=MattN
MozReview-Commit-ID: CdAX9XZX7R0
2017-07-21 22:17:17 +08:00
Sean Lee
290cc52967 Bug 1358960 - "united state" string should not be recognized as "address-level1". r=MattN
MozReview-Commit-ID: E7pmBkGRBkQ
2017-08-04 16:23:45 +08:00
Sean Lee
5fb47a9c39 Bug 1370429 - Part 5: Add tel-extension support. r=MattN
MozReview-Commit-ID: 7XdiwYWERBC
2017-07-19 10:18:57 +08:00
Sean Lee
2c4b09ad38 Bug 1370429 - Part 4: Implement grammar list matching algorithm for telephone fields. r=MattN
MozReview-Commit-ID: K81o3XSqxKO
2017-07-19 10:18:06 +08:00
Sean Lee
b96950b0c5 Bug 1370429 - Part 3: Import the telephone grammar list from Chromium. r=MattN
MozReview-Commit-ID: kwPfrzi6Q3
2017-07-19 10:16:57 +08:00
Sean Lee
7c10e9d7f8 Bug 1370429 - Part 2: Implement address-lines parser and refactor getInfo function. r=MattN
MozReview-Commit-ID: 5gseB36n1M0
2017-07-19 10:15:34 +08:00
Sean Lee
18bbad6ce8 Bug 1370429 - Part 1: Implement FieldScanner and refactor getFormInfo function. r=MattN
MozReview-Commit-ID: GvFlOLuKSDU
2017-07-19 10:14:09 +08:00
Sean Lee
c99e3436cc Bug 1360370 - Part 3: Implement the heuristics of select element for country and state prediction.; r=MattN
MozReview-Commit-ID: D8DAZrAF6H6
2017-05-08 17:41:03 +08:00
Sean Lee
786c7a6850 Bug 1349490 - Part 4: Add "extensions.formautofill.heuristics.enabled" for toggling form autofill heuristics.; r=MattN
MozReview-Commit-ID: Le3o7f7AXKn
2017-05-29 10:51:57 +08:00
Sean Lee
5a03c676d2 Bug 1349490 - Part 2: Use a set of regexp to recognize the input autofill type.; r=MattN
MozReview-Commit-ID: B6ypdjBxlIV
2017-04-28 17:14:15 -07:00
Sean Lee
3031c953ad Bug 1349489 - Part 2: Add test fixtures for autofill field name heuristics.; r=MattN
MozReview-Commit-ID: IuvSEpSHVtK
2017-04-21 15:20:26 +08:00
Sean Lee
2285e24080 Bug 1349489 - Part 1: Move the codes from FormAutofillHandler.collectFormFields to FormAutofillHeuristics.getFormInfo.; r=MattN
MozReview-Commit-ID: BQTpopSyBUe
2017-04-21 15:15:35 +08:00
Phil Ringnalda
cae00e7e16 Backed out 2 changesets (bug 1349489) for xpcshell failures in test_Macys.js
CLOSED TREE

Backed out changeset e7ace7047297 (bug 1349489)
Backed out changeset 6b3ebb0930bd (bug 1349489)

MozReview-Commit-ID: GMMNNjIWIIR
2017-04-28 20:31:32 -07:00
Sean Lee
14457f68d5 Bug 1349489 - Part 2: Add test fixtures for autofill field name heuristics.; r=MattN
MozReview-Commit-ID: IuvSEpSHVtK
2017-04-21 15:20:26 +08:00
Sean Lee
bddd7a830d Bug 1349489 - Part 1: Move the codes from FormAutofillHandler.collectFormFields to FormAutofillHeuristics.getFormInfo.; r=MattN
MozReview-Commit-ID: BQTpopSyBUe
2017-04-21 15:15:35 +08:00
Luke Chang
7b394329e5 Bug 1359892 - [Form Autofill] Support full-name fields. r=MattN
MozReview-Commit-ID: 3G3d5nv6j7v
2017-04-13 17:12:59 +08:00
Luke Chang
6811524162 Bug 1358943 - [Form Autofill] Support "address-line*" fields. r=MattN
MozReview-Commit-ID: 2Kut671GHQh
2017-04-24 10:58:37 +08:00
Phil Ringnalda
e3965ad876 Backed out 2 changesets (bug 1349489) for xpcshell failures in test_Macys.js and test_Walmart.js
CLOSED TREE

Backed out changeset 7b8379154e08 (bug 1349489)
Backed out changeset a093b634c4d5 (bug 1349489)

MozReview-Commit-ID: 35RBBL8o1I9
2017-04-27 19:23:21 -07:00