Closed Bug 1792995 Opened 3 years ago Closed 3 years ago

Using Fathom to recognize credit card name field

Categories

(Toolkit :: Form Autofill, task, P2)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: dimi, Assigned: dimi)

References

Details

(Whiteboard: [fxcm-fathom-cc-p3])

Attachments

(3 files, 1 obsolete file)

We use fathom to recognize credit card number field in Bug 1759418. We can also do the same to detect credit card name field.

This patch change the behavior of the following two cases:

  1. Before this patch, if a form contains a cc-name field and a cc-exp
    field that are both identified by regex-based heuristic, we consider
    it a valid cc section in Nighty build.

    After this patch, the above case only consider a valud cc section when the cc-name field is
    identified by fathom. This applys to all builds.

  2. Before this patch, a form contains only a cc-name field without
    autocomplete attribute is never considered a valid cc section.

    After this patch, a form contains only a cc-name field is considered
    a valid cc section when fathom is confident

Depends on D158647

Attachment #9297394 - Attachment is obsolete: true
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0039108405c2 P1. Add a preference to determine what types of credit card fields are checked by fathom. r=sgalich https://hg.mozilla.org/integration/autoland/rev/d74fda910a24 P2. Add a 'fathom' prefix to formautofill fathom related preferences r=sgalich https://hg.mozilla.org/integration/autoland/rev/1a57d5dc1cf5 P3. Enable using fathom to identify cc-name field. r=sgalich
Regressions: 1794025
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
See Also: → 1805421
Blocks: 1977780
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: