Closed Bug 1845331 Opened 2 years ago Closed 5 months ago

[ES][etniabarcelona.com] The CC dropdown is not displayed and the autofill is not working for the CC Name field

Categories

(Toolkit :: Form Autofill, task, P3)

Firefox 117
Desktop
All
task

Tracking

()

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

People

(Reporter: ailea, Unassigned)

References

(Blocks 2 open bugs, )

Details

Attachments

(3 files)

Attached video 2023-07-25_18h31_43.mp4

Found in

  • 117.0a1

Affected versions

  • 117.0a1

Tested platforms

  • Affected platforms: Windows 10

Preconditions

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

Steps to reproduce

  1. Reach the payment form on https://www.etniabarcelona.com/
  2. Click on the CC number field and choose an entry from the dropdown
  3. Click on the CC Name field

Expected result

  • CC dropdown is displayed for any of the CC fields and all the CC eligible fields are autofilled.

Actual result

  • CC dropdown is not displayed for the CC Name field and it is also not autofilled.

Regression range

  • N/A

Additional notes

  • Not reproducible on Chrome, the CC dropdown is displayed and the autofill is working ok there for all the fields.
  • Fathom Fox Sample
Blocks: 1815399
Priority: -- → P3
Attached video etnia.es.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).

Also, now the Name field is already populated with the data entered in the address form and the CC dropdown is displayed only after erasing the data from it.

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