Closed Bug 1812667 Opened 2 years ago Closed 7 months ago

[CA][columbiasportswear.ca] CC autofill dropdown is not displayed for the Cardholder name and the clear form option is not clearing all the CC fields

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ailea, Assigned: theidkamp)

References

(Depends on 2 open bugs, Blocks 1 open bug, )

Details

(Whiteboard: [fxcm-cc-new-geo])

Attachments

(4 files)

Found in

  • 111.0a1 (2023-01-26)

Affected versions

  • 111.0a1, 110.0b5, 109.0

Tested platforms

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

Preconditions

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

Steps to reproduce

  1. Reach the payment form on www.columbiasportswear.ca
  2. Click on the "Name on card" CC field.
  3. Click on the "Expiry date" field and choose any saved CC entry.
  4. Clear the Expiry date field and click on the Card Number field.
  5. Click on the auto-filled Card Number field and choose to "Clear Form".

Expected result

  1. The autofill dropdown should be displayed for each eligible CC field.
  2. Choosing a CC entry from "Expiry date" field should autofill all the CC fields.
  3. Choosing "Clear Form" option from the CC dropdown should clear all the CC fields.

Actual result

  1. The autofill dropdown is not displayed for Name on Card field.
  2. Choosing a CC entry from Expiry date field will autofill only the Expiry date field.
  3. Only the field where the CC autofill was triggered is cleared.

Regression range

  • Not a recent regression.

Additional notes

  • Not reproducible on Chrome.
Depends on: 1815393, 1815399
Priority: -- → P3
Attached video columbiasportswear.mp4

The autofill feature is not working as expected in the CC form using the latest Nightly 132.0a1 on Windows 10 x64:

  • the Name on Card field is not being previewed or cleared after autofill, and no fields are highlighted when previewed and autofilled from the Card Number and Expiry Date trigger fields
  • the Name on Card trigger field is previewed, autofilled, and cleared individually

When setting the pref extensions.formautofill.heuristics.autofillSameOriginWithTop = true, the behavior changes slightly:

  • the fields are properly previewed and autofilled, but not highlighted
  • the Name on Card trigger field is previewed, autofilled, and cleared individually

Please find attached the "Field Info" section details on both scenarios with the pref extensions.formautofill.heuristics.autofillSameOriginWithTop enabled and disabled, and a video for clarity.
Further investigation reveals that the Name on Card field is located on the main page, unlike the Card Number and Expiry Date fields, which are within same-origin iframes.

Assignee: nobody → theidkamp
Whiteboard: [fxcm-cc-new-geo]
Depends on: 1923615

Re-tested the issue mentioned described in comment 1, and it is no longer reproducible, fixed by bug 1923615. Except the yellow highlight that is missing for the Card Number and Expiry date fields, all works as expected now.

Status: NEW → RESOLVED
Closed: 7 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: