Closed Bug 1788621 Opened 3 years ago Closed 3 years ago

Add more rules to determine whether a form with only a cc-number field is a valid cc section

Categories

(Toolkit :: Form Autofill, task, P1)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: dimi, Assigned: dimi)

References

Details

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

Attachments

(1 file)

There are cases where sites use a separate form/iframe for a cc-number field (either cc-number in one form, other cc-* in another form, OR each cc-* is in its own form). For thoses, we don't have cc-name or cc-exp to help us determine whether this is a cc form. To support those use cases, we can add two extra rules to identify a valid credit card section:

  1. Use a higher confidence threshold.
  2. Check whether the <input> is the only non-hidden input field of its form

For rule1, it is implemented in Bug 1783129 , this bug will focus on rule2

Blocks: 1783194
Blocks: 1786801
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3e5a79c5252 Add an extra rule to determine whether a form with only a cc-number field is a valid cc form r=sgalich
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0553d6f2c2f2 Add an extra rule to determine whether a form with only a cc-number field is a valid cc form r=sgalich
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Flags: needinfo?(dlee)
Regressions: 1789419
No longer duplicate of this bug: 1783194
Duplicate of this bug: 1783194
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: