Closed Bug 1845279 Opened 1 year ago Closed 1 month ago

[IT][etro] CC dropdown isn't applied on "Card Name" field and CC autofill isn't applied on any field

Categories

(Toolkit :: Form Autofill, task, P3)

Firefox 117
Desktop
All
task

Tracking

()

VERIFIED FIXED
Tracking Status
firefox115 --- disabled
firefox116 --- disabled

People

(Reporter: hyacoub, Unassigned)

References

(Blocks 2 open bugs, )

Details

Attachments

(4 files)

Found in

  • 117.0a1

Affected versions

  • 117.0a1

Tested platforms

  • Affected platforms: macOS 11.6

Preconditions

  • browser.search.region = IT
  • Have at least one CC already saved

Steps to reproduce

  1. Reach the payment form on https://www.etro.com
  2. Click on "Card name" field
  3. Click on any of the other fields

Expected result

  • CC dropdown should be applied on "Card Name" field and CC autofill should be applied on any eligible field

Actual result

  • CC dropdown isn't applied on "Card Name" field and CC autofill isn't applied on any field

Regression range

  • N/A

Additional notes

  • Not reproducible on Chrome.
  • Clear form is also not applied on any of the eligible fields.
Attached file etro.html
Blocks: 1815399
Priority: -- → P3
Attached video etro.it.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).

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
Depends on: 1916606
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: