Open Bug 1821275 Opened 2 years ago Updated 1 month ago

[IT][calvinklein.it] Credit Card Save doorhanger is displayed upon form submit only after page refresh and the CC name isn't captured and neither stored

Categories

(Toolkit :: Form Autofill, defect, P3)

Firefox 111
Desktop
Windows 10
defect

Tracking

()

Tracking Status
firefox111 --- disabled

People

(Reporter: hyacoub, Unassigned)

References

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

Details

Attachments

(3 files)

Attached video 2023-03-09_11h32_49.mp4

Found in

  • 111.0-candidates

Affected versions

  • 111.0-candidates

Tested platforms

  • Affected platforms: Windows 10

Preconditions

  • browser.search.region = IT
  • extensions.formautofill.creditCards.supportedCountries = IT

Steps to reproduce

  1. Reach the payment form on http://www.calvinklein.it
  2. Fill in manually new CC info and submit the form

Expected result

  1. Submitting the form with new CC info should trigger the Credit Card save doorhanger.
  2. CC number (****last 4 digits), card type and Cardholder name should be displayed in the doorhanger.
  3. The credit card should be saved and stored with all the expected info: card number, expiration date, card type.

Actual result

  1. The CC save doorhanger is displayed only after a page refresh.
  2. Only CC number and type are captured in the doorhanger.
  3. Only the credit card number and CC type are saved in the newly saved CC entry from the storage. The cardholder name and expiry date are not saved.

Regression range

  • N/A

Additional notes

Attached file calvinklein.html
Depends on: 1815406

Even though the name and expiry fields aren't captured in the doorhanger, we can autofill them with a existing CC login. And upon inspecting the markup, the fields are isolated in their own iframe, which is interesting since I don't think we would have been able to autofill those fields if that were the case.

I'm wondering if fathom isn't able to identify those fields when the form the submitted. Dimi, what do you think?

Flags: needinfo?(dlee)
Priority: -- → P3

(In reply to Micah [:mtigley] (she/her) from comment #2)

I'm wondering if fathom isn't able to identify those fields when the form the submitted. Dimi, what do you think?

Our heuristic identifies whether a field is a cc field when users click on a <input>, together with all the other <input> under the same <form>. Since we don't search across <form> or <iframe> boundary, so in this case, we think the submitted credit card form only contains one credit card number field. That's why when we don't capture credit card name in the doorhanger.

Depends on: 1815399
Flags: needinfo?(dlee)

As requested by the engineering team, I've retested this issue on Windows 10 x64.
The issue persists in Nightly 129.0a1 (2024-06-30):

  • the CC doorhanger is displayed after refreshing the page
  • the Cardholder Name is not capture
  • only the CC number is captured and stored
    However the CC doorhanger no longer appears in the latest Nightly 132.0a1 (2024-09-05) so I can't confirm the behavior in that version.

Re-tested the issue in the latest Nightly 133.0a1 (2024-10-10) and the CC Capture Doorhanger is still not displayed. The autofill is working as expected for all the CC fields.

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

Attachment

General

Created:
Updated:
Size: