Closed Bug 1821338 Opened 2 years ago Closed 1 month ago

[IT][elisabettafranchi.com] Form autofill/preview/clear are only applied on the selected field

Categories

(Toolkit :: Form Autofill, defect, P3)

Firefox 111
Desktop
Windows 10
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox111 --- disabled

People

(Reporter: hyacoub, Unassigned)

References

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

Details

Attachments

(2 files)

Attached video 2023-03-09_12h24_02.mp4

Found in

  • 111.0-candidates

Affected versions

  • 111.0-candidates

Tested platforms

  • Affected platforms: Windows 10

Preconditions

  • browser.search.region = IT
  • extensions.formautofill.creditCards.supportedCountries = IT
  • Have at least one CC already saved

Steps to reproduce

  1. Reach the payment form on http://www.elisabettafranchi.com
  2. Click on "Expiry date" or "Cardholder Name" field
  3. Select any of the options for the dropdown
  4. Right click on any of the form fields and choose "Clear autofill form"

Expected result

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

Actual result

  • Form autofill/preview/clear are only applied on the selected field

Regression range

  • N/A

Additional notes

Summary: [IT][euronics.it] Form autofill/preview/clear are only applied on the selected field → [IT][elisabettafranchi.com] Form autofill/preview/clear are only applied on the selected field

As requested by the engineering team, I've retested this in the latest Nightly 132.0a1 on Windows 10 x64.

The Cardholder Name Target field is not cleared when using autofill in the Trigger Fields Card Number or Expiry Date.
The Cardholder Name Target field is not highlighted when using autofill in the Trigger Fields Card Number or Expiry Date.
The Cardholder Name field is previewed, autofilled, and then cleared individually when using autofill in this Trigger Field.

When the extensions.formautofill.heuristics.autofillSameOriginWithTop setting is set to true, the remaining issue is that the Cardholder Name field is still being previewed, autofilled, and cleared individually when autofill is triggered in this field.

Upon further investigation, it seems that the 'Name on Card' field is situated on the main page, and not inside an iframe, unlike the 'Card Number' and 'Expiry Date' fields(which are located within same-origin iframes). Please find attached the Field Info section details from about:autofill.

This is expected because when autofill is triggered from fields in the main frame, we will not autofill fields in a cross-origin iframe.

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: 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: