[FR][fnac.com] Credit Card autofill/preview will does not work on pre-filled Name field
Categories
(Toolkit :: Form Autofill, defect, P2)
Tracking
()
People
(Reporter: tbabos, Assigned: tgiles)
References
(Blocks 1 open bug, )
Details
Attachments
(3 files)
Affected Versions:
- All latest Firefox versions using force enable (Nightly 86, Beta RC 85.0, Release 84.0.2)
Tested on:
- MacOS 10.15
- Windows 10 x64
Prerequisites:
- browser.search.region FR
- extensions.formautofill.supportedCountries FR
- download latest Firefox Nightly with region locale (switch extensions.formautofill.available to "on" for testing non-Nightly builds)
Steps to Reproduce:
- Launch Firefox
- Go to and reach the payment form for fnac.com
- Click on each field to toggle the autofill dropdown
- clear out the prefilled Name field -
- Check the preview for each field
- Select 1 saved entry and check autofill
- Type in manually 1 CC info and submit the form
Expected Results:
CC autofill should work correctly for all fields.
Actual Results:
- Due to site pre-fill behavior, the Cardholder Name field will not toggle the autofill dropdown nor be autofilled
- Previews will overlap placeholders
- The Save Doorhanger will not capture the Cardholder Name.
Notes:
- Severity: S3 given this is not reproducible on Chrome
- Reproducible on Chrome?: No
- Regression-range: reproducible on all latest versions, this site was never tested before, can look for regression-range if need be
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
This is probably the same as Bug 1687684, where we don't autofill on fields that have a value when autofilling. I'm not going to close as a dupe since we should verify this site when a patch lands for either bug.
Assignee | ||
Comment 2•3 years ago
|
||
Hey :tbabos, now that Bug 1687684 has landed, could you verify that this bug is no longer reproducible? Thanks!
Reporter | ||
Comment 3•3 years ago
•
|
||
Hey Tim, unfortunately, this is still reproducible on the latest Firefox Nightly 93.0a1 (2021-09-05) using the same scenario.
The Cardholder Name is pre-filled by the site and won't be auto-filled by our feature nor toggle the CC dropdown. This seems to be a different case from Bug 1687684, which I also verified and confirmed as fixed.
Reporter | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
On it, thanks for the report Timea!
Assignee | ||
Comment 6•3 years ago
|
||
Okay, the issue seems to be that we don't correctly identify the cardholder name field. The first pass solution I've discovered is adding "Titulaire" to our cc-name heuristic in heuristicsRegexp.js
. This seems to fix both of the issues related to this bug and doesn't cause any tests to immediately fail (on my machine at least). I'm not sure if adding "Titulaire" is the perfect long-term solution, but it might be good enough for now.
Assignee | ||
Comment 7•3 years ago
|
||
Pushed by tgiles@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/207f9700cc3a Add 'titulaire' to cc-name heuristic regex. r=dimi
Comment 9•3 years ago
|
||
bugherder |
Comment 10•3 years ago
|
||
The patch landed in nightly and beta is affected.
:tgiles, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 11•3 years ago
|
||
Credit card autofill is not yet enabled in FR locales, so wontfix on beta.
Updated•3 years ago
|
Comment 12•3 years ago
|
||
I was able to reproduce the issue on Win10 (93.0).
Verified as fixed on Win10/Ubuntu 20.4 and Mac 10.15 (Beta 94.0b4).
Updated•3 years ago
|
Updated•3 years ago
|
Description
•