Closed Bug 1886864 Opened 8 months ago Closed 1 month ago

[FR][micromania] Form autofill/previewed value/clear form are applied only in the selected 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 micromania.mp4

Found in

  • Nightly 126.0a1

Affected versions

  • all

Tested platforms

  • Affected platforms: all
  • Unaffected platforms: none

Preconditions

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

Steps to reproduce

  1. Go to https://www.micromania.fr/
  2. Add an item to cart and proceed to checkout
  3. Click in the Card Number, Expiration Date or Cardholder Name field and select any entry from the drop-down
  4. Click on any already autofilled field and choose to clear the form

Expected result

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

Actual result

  • The autofill, previewed value and Clear form are applied only in the selected field.

Regression range

  • Not a recent regression.

Additional notes

Priority: -- → P3
Attached video 2024-09-05_18h26_54.mp4

This issue is fixed only by setting the extensions.formautofill.heuristics.autofillSameOriginWithTop to True. With the pref mentioned above used by default(False), the issue is still reproducible as in the description. Expiration date field is in the main frame and the card Number field is part of cross origin iframe (different from the main frame origin).

Attached image 2024-09-05_18h28_41.png

about:autofill

Depends on: 1916606

Fixed by bug 1916606. The Exp field 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: 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: