Open Bug 1920036 Opened 1 year ago Updated 2 months ago

[BE][brico.be] Allow autofill when no alphanumeric characters exist in the field

Categories

(Toolkit :: Form Autofill, task, P3)

Firefox 132
Desktop
All
task

Tracking

()

Tracking Status
firefox130 --- disabled
firefox131 --- disabled
firefox132 --- disabled

People

(Reporter: bhidecuti, Assigned: theidkamp)

References

(Blocks 5 open bugs, )

Details

(Whiteboard: [fxcm-addr-compatibility])

Attachments

(3 files)

Found in

  • Nightly 132.0a1

Affected versions

  • N/A

Tested platforms

  • Affected platforms: Windows 11

Preconditions

  • install en-US build
  • use BE VPN
  • set browser.search.region = BE
  • extensions.formautofill.addresses.experiments.enabled = true
  • extensions.formautofill.addresses.supportedCountries = BE
  • have at least 1 address saved in about:preferences

Steps to reproduce

  1. Go to www.brico.be
  2. Add an item to cart and proceed to checkout
  3. Click on First Name/Surname or Street fields and observe the autofill preview
  4. Select any of the options from the dropdown and observe if autofill is applied
  5. Clear the form
  6. Click on Number/Common/E-mail address/Mobile phone field and observe the autofill preview
  7. Select any of the options from the dropdown and observe if autofill is applied

Expected result

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

Actual result

  • Only the First name, Surname and Street fields are autofilled when triggered from the fields mentioned in step 3
  • First name, Surname and Street fields are not autofilled when triggered from the fields mentioned in step 6
  • Also, the second line of the address is autofilled in the Street field and is duplicated (instead of being autofilled in the Number field)
  • The complete address (including the first line) is autofilled in the Number field
  • The postal code is no longer autofilled after clearing the fields once

Regression range

  • N/A

Additional notes

Severity: -- → N/A
Priority: -- → P3

Only the First name, Surname and Street fields are autofilled when triggered from the fields mentioned in step 3
First name, Surname and Street fields are not autofilled when triggered from the fields mentioned in step 6

This seems to be working ok now.

Also, the second line of the address is autofilled in the Street field and is duplicated (instead of being autofilled in the Number field)
The complete address (including the first line) is autofilled in the Number field

Thess was probably fixed by 1882480 or a related bug.

The postal code is no longer autofilled after clearing the fields once

The field seems to be filled in with underscores when deleted. Let's leave this bug for this last remaining issue.

Whiteboard: [fxcm-addr-compatibility]

Note: Chrome seems to allow autofill when the field has only non-alphanumeric characters.

Summary: [BE][brico.be] Address autofill not working properly for all fields → [BE][brico.be] Allow autofill when no alphanumeric characters exist in the field
Attached file Reduced Testcase

To test, open the testcase, press the Change button, then try to autofill. The postal code field will not fill in.

Blocks: 1917806
Blocks: 1934228
Blocks: 1935701
Assignee: nobody → theidkamp
Blocks: 1819974

Test again on Fx145, the remaining issues is that we recognize the telephone number fields as name fields

<input type="tel" class="input--3vjwF" inputmode="tel" name="telFirst" value="" placeholder="000" required="" >
<input type="tel" class="input--3vjwF " inputmode="tel" name="telSecond" value="" placeholder="0000" required="">
<input type="tel" class="input--3vjwF" inputmode="tel" name="telLast" value="" placeholder="0000" required="">
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: