Closed Bug 1886779 Opened 11 months ago Closed 5 months ago

[FR][calvinklein]Form autofill/preview/clear are not applied in the eligible fields

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)

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.calvinklein.fr/
  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 in the eligible fields.

Actual result

  • Clicking in the CC number and Expiry date fields will autofill and highlight them individually, but the entries are not previewed.
  • Clear form is working separately for the autofilled fields.

Regression range

  • Not a recent regression.

Additional notes

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

This bug is fixed by bug 1906292 The card number and expiry date fields are working accordingly now since they are in the same frame and have the same origin. The issue remaining here is the card Name field which works different, being in the main frame. The extensions.formautofill.heuristics.autofillSameOriginWithTop set to True, will solve the issue partially.
By default, if the autofill is triggered from the card number or expiry date fields, the Name on card field is autofilled, but by clicking on it will display the wrong dropdown (autocomplete dropdown instead of clear form dropdown), and by triggering the clear form from the card number or expiry date fields will not clear the card Name field.
With the above mentioned pref to True, the card Name field will display the correct dropdown when it is already autofilled (the clear form dropdown), and it is cleared correctly when the clear form is triggered from the card number or expiry date fields. BUT triggering the autofill from the card Name field, it will autofill only itself, as with the above preferences by default - false (see the screen recording attached).

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

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: