Closed Bug 1886787 Opened 11 months ago Closed 5 months ago

[BE][leenbakker] Form autofill/clear form are working separately for each field

Categories

(Toolkit :: Form Autofill, task, P3)

Desktop
All
task

Tracking

()

VERIFIED FIXED

People

(Reporter: ailea, Unassigned)

References

(Blocks 2 open bugs, )

Details

Attachments

(3 files)

Attached video leenbakker.mp4

Found in

  • Nightly 126.0a1

Affected versions

  • all

Tested platforms

  • Affected platforms: all
  • Unaffected platforms: none

Preconditions

  • set pref browser.search.region to BE in about:config
  • use BE VPN
  • have several credit cards saved in about:preferences#privacy

Steps to reproduce

  1. Go to www.leenbakker.be/nl
  2. Add an item to cart and proceed to checkout
  3. Click in the Card Number, Expiration Date or Cardholder Name field

Expected result

  • Form autofill/preview/clear are applied accordingly in all eligible fields.

Actual result

  • The autofill preview is not working, the autofill option works separately in each field(except Card Number) and the option Clear form works separately for each field

Regression range

  • Not a recent regression.

Additional notes

Priority: -- → P3
Attached video 2024-09-06_17h36_01.mp4

The expiry date and card Number fields that worked separately are now fixed by bug 1906292.
The credit card name field is autofilled when autofilling is triggered from the credit card number or expiry date fields but it display the wrong dropdown when its autofilled(the autocomplete dropdown instead of clear form dropdown) and it is also NOT cleared if the clear form is triggered from the card Number or expiry date fields.
Setting extensions.formautofill.heuristics.autofillSameOriginWithTop to True will fix the card Name field issue, it is cleared accordingly when the clear form is triggered from the card Number or expiry date fields and it also display the correct dropdown when it is autofilled. (See the screen recording attached here)
The card Name is in the main frame and the card Number and expiry date fields are part of the same iframe with the same origin.

Attached image 2024-09-06_17h36_06.png

about:autofill

Depends on: 1916606

Fixed by bug 1916606. The CC Name field that is located in the main frame, is now autofilled and cleared accordingly.
As we agreed with the engineering team and based on this comment, I will mark this as fixed and verified.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: