Open Bug 1908635 Opened 4 months ago Updated 1 month ago

[NZ][jbhifi.co.nz] The clear form is working separately for all fields

Categories

(Toolkit :: Form Autofill, task, P3)

Desktop
All
task

Tracking

()

Tracking Status
firefox128 --- disabled
firefox129 --- disabled
firefox130 --- disabled

People

(Reporter: ailea, Unassigned)

References

(Blocks 2 open bugs, )

Details

Attachments

(7 files)

Attached video 2024-07-18_13h28_53.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.jbhifi.co.nz
  2. Click on the CC Number field and choose an entry from the dropdown.
  3. Click on each field.
  4. From the Card Number field, choose to clear the form.
  5. Repeat the steps above by autofilling the form from each field.

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

Actual result
The Clear Form dropdown is displayed only for the field that triggers the autofill and is also the only field that is cleared by choosing the clear form option. The clear form dropdown is not displayed at all for the expiration date field, and the wrong dropdown is shown for the other CC fields once the fields are autofilled from the expiration date field.

Regression range

  • Not a recent regression.

Additional notes
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 described here are also reproducible as well (see comment 2). The CC Capture doorhanger is displayed in Chrome as well, but no CC is saved (see comment 3).

Severity: S3 → N/A
Priority: -- → P3
Attached video jbhfifi.nz.mp4

I am still able to reproduce the issue partially using Firefox Nightly 132.0a1 on Windows 11, as follows:

  • when autofilling is triggered from the Card number field/Expiration date field, all fields are autofilled, but by clicking on the Name on card field the wrong dropdown is displayed (autocomplete dropdown instead of clear form dropdown). If triggering the clear form from the Card number or Expiry date fields the Name on card field will not be cleared.
  • when autofilling is triggered from the Name on card field, all fields are autofilled, but the Expiration date field will display no dropdown by clicking on it and the Card number field displays the wrong dropdown (autocomplete dropdown instead of clear form dropdown). If triggering the clear form from the Name on card field will erase the data only from that field.

Setting extensions.formautofill.heuristics.autofillSameOriginWithTop to True does not solve the issue since all of the fields seem to be part of the same iframe (see Comment 5).

Also, we are unable to verify the issue regarding the cardholder name and expiry date not being captured and saved via CC capture doorhanger, as the CC doorhanger is no longer displayed in the latest Nightly 132.0a1 (2024-09-08) (but it is on Nightly 129.0a1 (2024-07-03)). Will attach the screen recording in Comment 6.

CC doorhanger not displayed

Re-tested the issue in the latest Nightly and the CC Capture Doorhanger is still not displayed.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: