.co .uk] The "Address Line 1 (or Company Name)" field is incorrectly autofilled
(Toolkit :: Form Autofill, defect, P3)
(Reporter: simona.marcu, Unassigned)
(Blocks 2 open bugs,
6.68 MB, video/quicktime
Nightly 99.a1, Beta 98 and Release 97
extensions.formautofill.addresses.enabled - true
extensions.formautofill.addresses.supported to "detect"
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.
The "Address Line 1 (or Company Name)" field should be correctly auto-filled and contain both the Street name and the Organization.
The "Address Line 1 (or Company Name)" field contains only the Organization name info.
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.
1 year ago•
Resetting the Priority field as was accidentally set.
1 year ago
1 year 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.