Closed
Bug 1874338
Opened 1 year ago
Closed 1 year ago
cc-type field gets deleted from profile when matched select option found
Categories
(Toolkit :: Form Autofill, defect, P3)
Toolkit
Form Autofill
Tracking
()
RESOLVED
FIXED
123 Branch
People
(Reporter: issammani, Assigned: issammani)
References
Details
(Whiteboard: [fxcm-bugs-2023])
Attachments
(2 files)
Description
When a select field of type cc-type
is detected and matching known credit card network names to the one of the option fails, the cc-type
field is deleted from the profile passed to the autocomplete popup. This in turn causes the icon next to the credit cards to show the default icon instead of the correct icons.
Example of a broken form
This form will cause the cc-type
to be deleted from the profile, since we can't match any option to a know network ( visa, mastercard, ... )
<form>
<input autocomplete="cc-name" />
<input autocomplete="cc-number" />
<input autocomplete="cc-exp" />
<select autocomplete="cc-type" >
<option> foo </option>
</select>
</form>
Comment 1•1 year ago
|
||
I hit this case on the checkout form on https://keylargoprincess.com/.
status-firefox121:
--- → affected
status-firefox122:
--- → affected
status-firefox123:
--- → affected
status-firefox-esr115:
--- → ?
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Whiteboard: [fxcm-bugs-2023]
Updated•1 year ago
|
Pushed by imani@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ec2f6ca29b9e
Skip deleting cc-type field from credit card profile data when matching select option. r=dimi
Comment 4•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Updated•1 year ago
|
Comment 5•1 year ago
|
||
The patch landed in nightly and beta is affected.
:issammani, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox122
towontfix
.
For more information, please visit BugBot documentation.
Flags: needinfo?(imani)
Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(imani)
You need to log in
before you can comment on or make changes to this bug.
Description
•