Closed Bug 1882984 Opened 8 months ago Closed 2 months ago

[DE][bijou-brigitte.com] Form autofill/preview isn't applied on the "Country" field

Categories

(Toolkit :: Form Autofill, task, P3)

Firefox 125
Desktop
macOS
task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox123 --- disabled
firefox124 --- disabled
firefox125 --- disabled
firefox132 --- fixed

People

(Reporter: hyacoub, Assigned: enndeakin)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [fxcm-addr-compatibility] )

Attachments

(4 files)

Found in

  • Firefox Nightly 125.0a1

Affected versions

  • Firefox Nightly 125.0a1

Tested platforms

  • Affected platforms: macOS 11.6

Preconditions

  • Install DE Firefox build
  • Use DE VPN
  • browser.search.region = DE
  • extensions.formautofill.addresses.experiments.enabled - true
  • extensions.formautofill.addresses.supportedCountries = DE
  • extensions.formautofill.addresses.capture.requiredFields = empty
  • Make sure to have a couple of addresses saved

Steps to reproduce

  1. Reach the address form on https://www.bijou-brigitte.com
  2. Click on any field field
  3. Select any of the options for the dropdown
  4. Observe "County" field

Expected result

  • Form autofill/preview/clear should be applied on eligible fields.

Actual result

  • Form autofill/preview isn't applied on the "Country" field.

Regression range

  • N/A

Additional notes

Priority: -- → P3

The country is being detected as an address-level1 (province/state) field instead of country.

Whiteboard: [fxcm-addr-compatibility]
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d5936b563eb0 the word land should match country not address-level1, r=credential-management-reviewers,dimi
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Attached video Land dropdown.mp4

I was able to reproduce this issue in Nightly 125.0a1 on Windows 10 x64 following the STR from Comment 0. The issue no longer persists in the latest Firefox 132.0b1 version on both Windows 10 x64 and macOS 13.
However I noticed that country "Deutschland" is pre-filled by default when accessing the address form and it is highlighted when previewing the saved values. This pre-filled value cannot be cleared when using the "Clear Form" option. Additionally, when a country other than "Deutschland" is saved in the Form Autofill section from about:preferences#privacy, this value is not previewed in the Country field on the website.
Furthermore, when manually selecting another country from the "Land" dropdown in the address form, the saved values in about:preferences#privacy are not previewed or autofilled in this field. The same behavior is also observed in Google Chrome.
Given that "Land" is a dropdown, should the autofill and preview functionality be expected to work similarly to the other address form fields? Please see the attached screen recording for further clarification.

Flags: needinfo?(enndeakin)

I can't tell exactly from your video, but note that the dropdown on this site only includes European countries. In your video you are trying to fill in Canada/Kanada which doesn't exist in the dropdown so the field will not be changed.

Flags: needinfo?(enndeakin)

When manually changing the country in the "Land" dropdown, as shown with Italy in the attached screen recording, the country saved in Preferences is not autofilled afterward. I think that "Deutschland", which was previously saved in Preferences, should be autofilled in this scenario, as the user may have accidentally selected a different country before using autofill. Should the autofill work as expected in this case, that the correct saved country is applied even after a manual selection?

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: