Closed Bug 1821281 Opened 2 years ago Closed 5 months ago

[IT][calvinklein.it] 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

(3 files)

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.calvinklein.it
  2. Click on "Card Number", "Expiry date" or "Cardholder name" fields
  3. Select any of the options for the dropdown
  4. Right click on "Card Number" field 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

Attached video 2023-03-16_11h40_00.mp4
Attached file calvinklein.html
Priority: -- → P3

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

  • The Cardholder Name field is not cleared when using autofill in the Card Number or Expiry Date fields.
  • None of the fields is not highlighted when using autofill in the Card Number or Expiry Date fields.
  • 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:

  • The Trigger Fields Card Number or Expiry Date are not highlighted upon autofill.

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.

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.
As a note, only the CC Name field is highlighted with yellow.

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: