Open
Bug 1849147
Opened 2 years ago
Updated 8 months ago
[CA][newegg.ca] The address dropdown and the autofill are not working for Name, Address and Province fields
Categories
(Toolkit :: Form Autofill, task, P3)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox118 | --- | affected |
People
(Reporter: ailea, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
1.47 MB,
video/mp4
|
Details |
Found in
- 118.0a1
Affected versions
- 118.0a1
Tested platforms
- Affected platforms: Windows 10
Preconditions
- browser.search.region = CA
- Have at least one Address already saved
Steps to reproduce
- Reach the Address form on https://www.newegg.ca
- Click on the Full Name field
- Click on the Address field
- Click on the City field and select an address entry from the dropdown
Expected result
- The address dropdown should be displayed for all the eligible fields and all the fields should be autofilled.
Actual result
- The address dropdown is not displayed for the Full Name and Address fields and the autofill is also not working for those fields. The full address is autofilled in the Apartment, suite, unit, etc. field. Also the Province field (dropdown) is not autofilled.
Regression range
- N/A
Aditional Notes
- In Chrome the Name field is working as expected. The Address field is not autofilled there as well.
- Fathom Fox Sample
Reporter | ||
Updated•2 years ago
|
Summary: [CA][newegg.ca] The address dropdown and the autofill are not working for Name and Address fields → [CA][newegg.ca] The address dropdown and the autofill are not working for Name, Address and Province fields
Comment 1•11 months ago
|
||
Some notes:
- the name field has the name 'ContactWith' and doesn't match as a name field. There is a label just before the <input> that contains the text 'Full Name' but this label is not directly associated with the input element (it should either have a for attribute or be nested inside the label). We could add 'contact' to HeuristicsRegExp.sys.mjs to fix this issue, although the word contact is currently used for phone numbers.
- there are two address fields on the form. The first has autocomplete="new-password" so gets ignored as an address. The second
one has a placeholder of 'Apartment, ...' and gets treated as the first address field. Chrome autofills the address in this unexpected way as well. - the province appears to be filled in correctly, but it does not get displayed during the preview.
Comment 2•11 months ago
|
||
(In reply to Neil Deakin from comment #1)
Some notes:
- the name field has the name 'ContactWith' and doesn't match as a name field. There is a label just before the <input> that contains the text 'Full Name' but this label is not directly associated with the input element (it should either have a for attribute or be nested inside the label). We could add 'contact' to HeuristicsRegExp.sys.mjs to fix this issue, although the word contact is currently used for phone numbers.
Another solution is finding this "label" in
https://searchfox.org/mozilla-central/rev/47a0a01e1f7ad0451c6ba6c790d5c6855df512c1/toolkit/components/formautofill/shared/FormAutofillHeuristics.sys.mjs#962-976
We do have this heuristic in NewPasswordModel
https://searchfox.org/mozilla-central/rev/47a0a01e1f7ad0451c6ba6c790d5c6855df512c1/toolkit/components/passwordmgr/NewPasswordModel.sys.mjs#186-193
Updated•8 months ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•