Open Bug 1897394 Opened 6 months ago Updated 4 months ago

[MX][www.walmart.com.mx] Cardholder name is not autofilled in the CC form

Categories

(Toolkit :: Form Autofill, task, P3)

Firefox 128
Desktop
All
task

Tracking

()

Tracking Status
firefox126 --- disabled
firefox127 --- disabled
firefox128 --- disabled

People

(Reporter: epopescu, Assigned: joschmidt)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [fxcm-cc-compatibility])

Found in

  • Nightly 128.0a1

Affected versions

  • Nightly 128.0a1

Tested platforms

  • Affected platforms: Windows10, macOS 11

Preconditions

  • Install the Firefox es-MX build
  • Set browser.search.region to US in about:config
  • Use MX VPN to test

Steps to reproduce

  1. Log into www.walmart.com.mx, add an item to cart and navigate to checkout page
  2. Fill in the necessary address details to reach the CC form
  3. Use autofill in the CC form

Expected result

  • All the details are properly autofilled in the CC form.

Actual result

  • The Cardholder name is not autofilled in the CC form.
  • The "Manage payment methods" dropdown is not displayed when clicking in the Cardholder name field.

Regression range

  • N/A

Additional notes

  • The same issue occurs in Google Chrome.
Blocks: 1896665
Severity: -- → S3
Has STR: --- → yes
OS: Unspecified → All
Hardware: Unspecified → Desktop
Version: unspecified → Firefox 128
  • card name input has autocomplete="given-name" name="nameOnCard"
  • all fields in parent dom, no iframe involved
  • FormAutofillHandler#collectFormFields got sections: [{"type":"creditCard"},{"type":"address"}]
  • cc name field is recognized as address field:
[{"elementWeakRef":{},"identifier":"cc-number/","fieldName":"cc-number","reason":"autocomplete","section":"","addressType":"","contactType":"","credentialType":"","part":null,"confidence":null},{"elementWeakRef":{},"identifier":"react-aria-18/","fieldName":"cc-exp-month","reason":"autocomplete","section":"","addressType":"","contactType":"","credentialType":"","part":null,"confidence":null},{"elementWeakRef":{},"identifier":"react-aria-20/","fieldName":"cc-exp-year","reason":"autocomplete","section":"","addressType":"","contactType":"","credentialType":"","part":null,"confidence":null}]

[{"elementWeakRef":{},"identifier":"react-aria-16/nameOnCard","fieldName":"given-name","reason":"autocomplete","section":"","addressType":"","contactType":"","credentialType":"","part":null,"confidence":null}]

Assignee: nobody → joschmidt
Whiteboard: [fxcm-cc-compatibility]

Hi johannes,
could you help check why we didn't update the "given-name" field to "cc-name" field in
https://searchfox.org/mozilla-central/rev/3609b689a2c2ba7d75c4f047aee1546b86bc51bb/toolkit/components/formautofill/shared/FormAutofillHeuristics.sys.mjs#520-523 ? thanks!

Flags: needinfo?(joschmidt)
Priority: -- → P3
Flags: needinfo?(joschmidt)
You need to log in before you can comment on or make changes to this bug.