[ES][jdsports.es] The autofill is not working at all for the CC Name field and the expiry date autofill is working only for it's field
Categories
(Toolkit :: Form Autofill, defect, P2)
Tracking
()
People
(Reporter: ailea, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(Whiteboard: [fxcm-cc-new-geo])
Attachments
(4 files)
Found in
- 111.0-candidates
Affected versions
- 111.0-candidates
Tested platforms
- Affected platforms: Windows 10
Preconditions
- browser.search.region = ES
- extensions.formautofill.creditCards.supportedCountries = ES
- have at least one already saved CC in about:preferences
Steps to reproduce
- Reach the payment form on https://www.jdsports.es
- Click on the CC Name field
- Click on the expiry date field and hover the mouse over any CC entry from the dropdown
- Select any CC entry from the dropdown
- Click on the expiry date field and choose to clear form
- Click on the CC number field and select any CC entry from the dropdown
- Click on the expiry date field
- Click on the CC number field and select clear form
Expected result
- The CC dropdown should be displayed and the autofill should work for any eligible CC field.
- Preview should be applied on eligible fields.
- Choosing a CC entry from any CC fields should autofill all the CC eligible fields.
- Clear form dropdown should be displayed for the already autofilled fields and should clear all the CC eligible fields.
- The autofill highlight should be displayed for all the CC fields.
Actual result
- The CC dropdown is not displayed and the autofill is not working for the CC Name field.
- The preview is applied only for the selected field.
- All the CC fields are autofilled only if choosing a CC entry from the CC Number field. The expiry date field will autofill only itself.
- Clear form dropdown is displayed and clears only the selected field.
- The autofill highlight is displayed only for the selected field.
Regression range
- N/A
Additional notes
- CC Name field has the autocomplete = off attribute.
- Not reproducible on Chrome.
Reporter | ||
Comment 1•2 years ago
|
||
For some reason, the page for this website is not downloaded correctly.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
•
|
||
CC name input field is outside of where its label is rendered. We'd likely need to have a new rule that detects and makes this association.
As for autofill fields not being applied when one field is filled, I imagine this would need to be addressed in Bug 1815399 since the fields are also in their own iframe.
Comment 3•1 years ago
|
||
Investigated this one again and found that our fathom rules for cc-name produce a confidence score 0.67 and that the labelsMatchRegExp successfully match for the associated label when we add the keyword nombre.*tarjeta
.
However, the cc-number and cc-exp fields are isolated in their own iframes, so we don't evaluate cc-name as a valid field. And because the confidence score is only 0.67, the high threshold check doesn't pass either.
Dimi, is it safe to say this issue will be resolved when Bug 1815399 is fulfilled? I think in the meantime we can just add the keyword.
Comment 4•1 years ago
|
||
(In reply to Micah [:mtigley] (she/her) from comment #3)
Dimi, is it safe to say this issue will be resolved when Bug 1815399 is fulfilled? I think in the meantime we can just add the keyword.
Sounds good!
Comment 5•2 months ago
•
|
||
I've retested this on the latest Nightly 132.0a1 on macOS 14.
- Triggering autofill from “CC number” and “Date” fields isn't autofilling "CC name" field
- Clearing autofill from “CC number” and “Date” fields isn’t clearing “Name” field
- Triggering autofill/clearing from “Name” field is only autofilling/clearing “Name” field
When the extensions.formautofill.heuristics.autofillSameOriginWithTop setting is set to true, clearing autofill from any field is clearing all the targeted fields, but not if the triggered from "CC name" field.
The "CC Name" field is situated on the main page, and not inside an iframe, unlike the 'Card Number' and 'Expiry Date' fields which are located within same-origin iframes.
Video recording: https://imgur.com/a/0JfVooU
Reporter | ||
Comment 6•1 month ago
|
||
Fixed by bug 1916606. The CC Name field that is located in the main frame, is now autofilled and cleared accordingly.
As we agreed with the engineering team and based on this comment, I will mark this as fixed and verified.
Reporter | ||
Updated•1 month ago
|
Description
•