Credit card expiration autofill doesn't work on reservit websites
Categories
(Toolkit :: Form Autofill, defect)
Tracking
()
People
(Reporter: marco, Unassigned)
Details
On reservit-based reservation websites, credit card autofill is only able to autofill credit card number and isn't able to autofill expiration.
It is possible to reproduce the bug on http://softbooker.reservit.com/reservit/reserhotel.php?lang=FR&hotelid=200568.
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:serg, could you have a look please?
For more information, please visit BugBot documentation.
Updated•3 years ago
|
Comment 2•2 years ago
•
|
||
It's not completely possible to reproduce the bug as described.
On http://softbooker.reservit.com/reservit/reserhotel.php?lang=FR&hotelid=200568
the autofill works for creditcard number and for part of the expiry field. It fills in only the month for a field that should be filled with month and year. That seems to be happening because the input field has an autocomplete attribute set to "section-cc cc-exp-month", so the inferred field type is cc-exp-month instead of cc-exp. For this case, when there is only one expiry field, and it has the value cc-exp*, the fieldname should be updated from cc-exp* to cc-exp at this line of code: https://searchfox.org/mozilla-central/source/toolkit/components/formautofill/shared/FormAutofillHeuristics.sys.mjs#394
However, the updateFunction returns without updating because of ignoreAutocomplete=false and the fieldDetail.reason == "autocomplete" : https://searchfox.org/mozilla-central/source/toolkit/components/formautofill/shared/FieldScanner.sys.mjs#265,
which is desired behavior.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Close this bug as WONT fixed based on Comment 2 - the site sets autocomplete=cc-exp-month for the credit card expiry field.
Description
•