[UK][amazon.co.uk] The "Address Line 1 (or Company Name)" field is incorrectly autofilled
Categories
(Toolkit :: Form Autofill, defect, P3)
Tracking
()
People
(Reporter: sbadau, Unassigned)
References
(Blocks 2 open bugs, )
Details
Attachments
(1 file)
6.68 MB,
video/quicktime
|
Details |
Affected Versions:
Nightly 99.a1, Beta 98 and Release 97
Tested on:
MacOS 11
Windows 10
Preconditions:
browser.search.region GB
extensions.formautofill.addresses.enabled - true
extensions.formautofill.addresses.supported to "detect"
extensions.formautofill.addresses.supportedCountries US,CA,GB
download latest Firefox Nightly with region locale
have a complete address already saved in about:preferences#privacy
Steps to reproduce:
- Reach the address form on amazon.co.uk
- Using the autofill feature, select 1 saved address entry.
- Observe the "Address Line 1 (or Company Name)" field.
Expected Results:
The "Address Line 1 (or Company Name)" field should be correctly auto-filled and contain both the Street name and the Organization.
Actual Results:
The "Address Line 1 (or Company Name)" field contains only the Organization name info.
Notes:
If I delete the Organization name in the Saved Addresses modal from about:preferences#privacy the field is not auto-filled but remains empty.
Reproducible on Chrome: Yes.
Reporter | ||
Comment 1•3 years ago
•
|
||
Resetting the Priority field as was accidentally set.
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Okay, so this is a bit of an odd one. The reason the "Address Line 1 (or Company Name)" gets filled with the "Organization" data is due to the ordering of our heuristics. Since the autocomplete attribute doesn't match any valid attribute for autocomplete, we fall back to our heuristics to make an educated guess. Well, we end up checking for "organization" before we check for "address-line1". Since the label text has "Company Name", our heuristics match this field as an "organization" field and not an "address-line1" field...though to be frank, I think all browsers will have difficulty with this form.
The "address-line1" and "organization" are not synonymous attribute for autofill and thus can't be used interchangeably. Address-line1 is used as part of a street address, while organization is used for "company name corresponding to the person, address, or contact information in the other fields associated with this [form]".
I believe this will be a WONTFIX as we can't predict whether or not the user would want address-line1 information filled in this field or organization data filled in this field.
Description
•