Closed Bug 1822583 Opened 2 years ago Closed 1 month ago

[BE][gamma] Form autofill/preview/clear are not applied properly in all the eligible fields

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
Windows 10
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr102 --- disabled
firefox111 --- disabled
firefox112 --- disabled
firefox113 --- disabled

People

(Reporter: epopescu, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

Attachments

(4 files)

Found in

  • Firefox 111

Affected versions

  • Firefox 111

Tested platforms

  • Affected platforms: Windows 10

Preconditions

  • set pref extensions.formautofill.supportedCountries to IT,ES,PL,AT,BE in about:config
  • 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 https://www.gamma.be/nl
  2. Add an item to cart and proceed to checkout
  3. Reach the payment page
  4. Click in either the Card Number or Expiration Date field

Expected result

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

Actual result

  • CC number and Expiry date are previewed, autofilled and cleared individually, but not highlighted in the specific yellow color.
    However clicking in the CC number field will autofill all the eligible fields, but Clear Autofill form clears only the Cardholder name field.

Regression range

  • Not a regression because this feature is disabled by default.

Additional notes

Blocks: 1820733
Severity: -- → S3
Has STR: --- → yes
Depends on: 1755033

:epopescu, if you think that's a regression, could you try to find a regression range using for example mozregression?

Depends on: 1815399
Priority: -- → P3
Attached video gamma.mp4

I've retested this issue in Nightly 125.0a1 (2024-03-05) on Windows10 x64 given that Bug 1755033 has been RESOLVED FIXED.
The autofill preview is not working, autofill option works separately in each field(except Card Number) and the option Clear form works separately for each field and only Cardholder Name is highlighted when being autofilled.
Screen recording attached.

Attached video 2024-09-06_13h35_27.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_13h36_00.png

about:autofill

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.
Just as a note, not all the CC fields are highlighted with the specific autofill yellow color (see the screen recording attached in comment 3).

Status: NEW → RESOLVED
Closed: 1 month 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: