[deathwishcoffee.com]Credit Card Autofill Expiration date has invalid format
Categories
(Toolkit :: Form Autofill, defect, P3)
Tracking
()
People
(Reporter: marcela.calderon, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [cc-autofill-reserve])
Attachments
(3 files)
Affected Version:
Firefox 79.0a1 (2020-06-22)(64-bit)
TEsted on:
Ubuntu 20.04 LTS
Preconditions
Have the following set up:
- Enable the following preferences and restart the browser:
"extensions.formautofill.creditCards.available" pref is set to true
"extensions.formautofill.creditCards.enabled" pref is set to true
(for Beta also set up: extensions.formautofill.available set to "on") - Have multiple saved Credit Cards
- NordVPN set up for USA or region to US
Steps to Reproduce
- Open Firefox and to to https://www.deathwishcoffee.com
- Reach the Payment form
- Click on "Name on Card" and select one in the dropdown list
Expected Result
All fields should be fill without issues
Actaul Result
Expiration date field is completed with an invalid format
Reporter | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
This problem arises because the only indication that the date needs to be exactly 5 characters long is in instructions provided to the user. It would be possible to work around this by adding heuristics to check, e.g., the placeholder
field on the <input>
element, as well as any nearby text (e.g., in <label>
elements) for patterns like /(mm ?[\/-] ?yy(yy)?)|(yy(yy)? ?[\/-] ?mm/,"i"
and reformatting the cc-exp
value in the modified profile to match.
This seems like it is likely to be somewhat uncommon behavior; and, given the difficulty in reliably detecting it, I would suggest not pursuing a fix unless it appears on a large number of sites or a high-profile site.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
This behaviour is the default for all sites powered by Shopify; I ran into this twice this morning.
Comment 5•2 years ago
|
||
This seems to have been resolved, at least for Shopify powered sites, sometime in the last few months.
Description
•