Closed Bug 1908334 Opened 4 months ago Closed 1 month ago

[NL][coolblue.nl] The autofill is working separately for the Expiry date and CC Name fields

Categories

(Toolkit :: Form Autofill, task, P3)

Desktop
All
task

Tracking

()

VERIFIED FIXED
Tracking Status
firefox128 --- disabled
firefox129 --- disabled
firefox130 --- disabled

People

(Reporter: ailea, Unassigned)

References

(Blocks 2 open bugs, )

Details

Attachments

(5 files)

Attached video 2024-07-08_15h38_54.mp4

Found in

  • 130.0a1 (2024-07-10)

Affected versions
N/A

Tested platforms

  • Affected platforms: Windows 10, macOS 12, Ubuntu 20

Preconditions

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

Steps to reproduce

  1. Reach the payment form on https://www.coolblue.nl/
  2. Click on the CC Number field and select an entry from the autocomplete dropdown.
  3. Click on the CC Number field again and choose to clear the form.
  4. Manually clear the Expiry date fields.
  5. Click on the expiry month field and select an entry from the autocomplete dropdown.
  6. Click on the expiry year field and select an entry from the autocomplete dropdown.
  7. Click on the expiry month field and choose to clear the form.
  8. Click on the expiry year field and choose to clear the form.
  9. Click on the CC Name field and select an entry from the autocomplete dropdown.

Expected result
All the CC fields should be autofilled and cleared accordingly.

Actual result
The CC Name field is not autofilled and the expiry date fields are not cleared. Also, the expiry date fields are working separately if the autofill is triggered from the expiry month or year fields. The CC Name field autofills only that field (for a better understanding, please see the screen recording attached).

Regression range

  • Not a recent regression.

Additional notes
Note that the Expiry date and CC Name are also not captured and saved via CC capture doorhanger, upon manually submitting the form (see comment 1).
Chrome behavior is a bit different, but some of the issues descried here are also reproducible as well (see comment 2).

Attached video 2024-07-08_15h41_31.mp4

CC Capture doorhanger behavior.

Attached video 2024-07-17_13h20_44.mp4

Chrome behavior.

Severity: S3 → N/A
Priority: -- → P3
Attached video 2024-09-10_10h34_34.mp4

The expiry date and card Number fields are now fixed by bug 1906292 and works as expected.
Setting extensions.formautofill.heuristics.autofillSameOriginWithTop to True, will fix the card Name field issue.
The card Name is in the main frame and the card Number and expiry date fields are part of iframes with same origin.
The CC capture issue is also fixed now, all the CC values are captured and saved via CC capture doorhanger.

Attached image 2024-09-10_10h34_39.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.

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: