[CA][davidstea.com] The Cardholder Name is not captured in the CC doorhanger and it is not saved in CC storage, along with the CC expiry date
Categories
(Toolkit :: Form Autofill, defect, P3)
Tracking
()
People
(Reporter: ailea, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
Attachments
(2 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
- browser.search.region CA
Steps to reproduce
- Reach the payment form on www.davidstea.com
- Fill in manually new CC info and submit the form
Expected result
- The Credit Card save doorhanger should be displayed and capture all the expected fields: Cardholder Name, CC number (****last 4 digits).
- The credit card should be saved and stored with all the expected info: card number, cardholder name, expiration date, card type.
Actual result
- Only the credit card number was captured and displayed in the doorhanger. The "undefined" is displayed instead of the CC Name.
- Only the credit card number and CC type is saved in the newly saved CC entry from the storage.
Regression range
- Not a recent regression.
Additional notes
- The CC save doorhanger is not displayed at all in Chrome.
Comment 1•2 years ago
|
||
The website uses an iframe for each credit card field, right now we only support grouping fields in the same document (not cross iframe). That's why we only capture credit card number after submitting.
Comment 2•6 months ago
•
|
||
The initial issue has been resolved, but I've observed that the autofill feature is not working as expected for the 'Name on Card' field in the latest Nightly 132.0a1 on Windows 10 x64: this field is previewed, autofilled and cleared individually. Upon further investigation, it seems that the 'Name on Card' field is situated on the main page, and not inside an iframe, unlike the 'Card Number' and 'Expiry Date' fields(which are located within same-origin iframes). Please find attached the Field Info section details from about:autofill.
Comment 3•6 months ago
•
|
||
I've tested again by flipping on/off the pref extensions.formautofill.heuristics.autofillSameOriginWithTop in about:config.
When the extensions.formautofill.heuristics.autofillSameOriginWithTop setting is set to false(by default):
- The Cardholder Name field is not cleared when using autofill in the Card Number or Expiry Date.
- The Cardholder Name field is not being previewed when using autofill in the Card Number or Expiry Date.
- The Cardholder Name field is not highlighted when using autofill in the Card Number or Expiry Date.
- The Cardholder Name field is previewed, autofilled, and then cleared individually when using autofill in this Trigger Field.
When the extensions.formautofill.heuristics.autofillSameOriginWithTop setting is set to true, the issues are resolved.
- The Cardholder Name field is previewed, autofilled, and then cleared individually when using autofill in this Trigger Field, but this is expected behavior.
The 'Name on Card' field is situated on the main page, and not inside an iframe, unlike the 'Card Number' and 'Expiry Date' fields(which are located within same-origin iframes).
Updated•5 months ago
|
Comment 4•5 months ago
|
||
This issue has been resolved by Bug 1916606. The Cardholder Name field within the main frame is now correctly autofilled and cleared as expected. As agreed with the engineering team and based on this comment, I am marking this as Verified Fixed.
Description
•