[US][gopro.com/] Form autofill/preview/clear are only applied on the selected field
Categories
(Toolkit :: Form Autofill, defect, P3)
Tracking
()
People
(Reporter: hyacoub, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
Attachments
(2 files)
Found in
- 111.0a1 (2023-01-29)
Affected versions
- 111.0a1, 110.0b9, 109.0
Tested platforms
- Affected platforms: Windows 10, macOS 11
Preconditions
- Have at least one CC already saved
- browser.search.region US
Steps to reproduce
- Reach the payment form on www.gopro.com
- Click on the name field
- Click on "Card Number" or "Expiry Date" fields and observe the autofill preview
- Select any of the options for the dropdown and observe if autofill is applied
- Right click on "Card Number" or "Expiry Date" fields and choose "Clear autofill form"
Expected result
- Form autofill/preview/clear should be applied on eligible fields
Actual result
- Form autofill/preview/clear are only applied on the selected field
Regression range
- Not a recent regression.
Additional notes
- Not reproducible on Chrome.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 months ago
|
||
I've retested this on the latest Nightly 132.0a1 on macOS 14.
- Triggering autofill from “CC number” and “Date” fields is autofilling all fields
- Clearing autofill from “CC number” and “Date” fields isn’t clearing “Name” field
- Triggering autofill from “Name” field is only autofilling “Name” field
- Clearing autofill from “Name” field is only 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.
It seems that the "Card 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.
Reporter | ||
Comment 2•2 months ago
|
||
Reporter | ||
Comment 3•2 months ago
|
||
Comment 4•2 months ago
|
||
Hi Hani, just to confirm, so if we set extensions.formautofill.heuristics.autofillSameOriginWithTop
to true, everything works as expected?
Reporter | ||
Comment 5•2 months ago
|
||
Hi Dimi, just the clear autofill form works as expected if we set that pref to true. Triggering autofill from “Name” field is only autofilling “Name” field.
Comment 6•2 months ago
•
|
||
(In reply to Hani Yacoub, Desktop QA from comment #5)
Hi Dimi, just the clear autofill form works as expected if we set that pref to true. Triggering autofill from “Name” field is only autofilling “Name” field.
Thank you for the quick reply! Yes, This the expected behavior after setting extensions.formautofill.heuristics.autofillSameOriginWithTop
to true
. The reason is that when you trigger autofill from the main-frame, we will not autofill a cross-origin iframe, which in this case is cc-number
and cc-exp
Comment 7•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.
Just as a note, not all the CC fields are highlighted with the specific autofill yellow color (only the CC Name that is in the main frame is highlighted).
Updated•1 month ago
|
Description
•