Open
Bug 1899088
Opened 5 months ago
Updated 4 months ago
Update two consecutive cc-name fields to cc-given-name/cc-last-name
Categories
(Toolkit :: Form Autofill, task, P3)
Toolkit
Form Autofill
Tracking
()
NEW
People
(Reporter: dimi, Unassigned)
References
(Blocks 3 open bugs)
Details
Currently our cc-name
parsing heuristic doesn't support parsing "cc-given-name" and "cc-family-name". So when we found two consecutive cc-name fields, we will treat them as separate autofill setions. I think what we can do is:
- Support parsing
cc-xxx-name
in fathom or in regexp - Update
cc-name
tocc-given-name
/cc-family-name
in _parseCreditCardNameFields(:
- (A) When seeing two consecutive cc-name fields, run
given-name
andfamily-name
regexpression to update the cc-name tocc-xxx-name
+cc-yyy-name
- (B) If the above heuristic doesn't find give-name + family-name or family-name + given-name. Update the cc-name to cc-name-1 and cc-name-2. Similar to the solution in Bug 1849137 Comment 5.
Solution 1 is not a trivial task, I think we can start with implementing solution 2.A
Reporter | ||
Updated•4 months ago
|
Severity: -- → N/A
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•