Firefox thinks that the card number field on cibc.com is a credit card number field
Categories
(Toolkit :: Form Autofill, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr91 | --- | unaffected |
| firefox-esr102 | --- | unaffected |
| firefox104 | --- | wontfix |
| firefox105 | --- | wontfix |
| firefox106 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: janika)
References
(Regression)
Details
(Keywords: regression)
Firefox prompts to fill in my credit card number on https://www.cibconline.cibc.com/ebm-resources/public/banking/cibc/client/web/index.html#/signon
When I log in wants to create a new credit card for my debit card.
I did not used to see this behaviour and Chrome also does not have this behaviour
Comment 1•3 years ago
|
||
hi janika, could you help take a look at this bug? Thanks!
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
•
|
||
You can save your credit card number and password via about:logins first. The login form will then be autofilled and after login it will not ask you to create a new credit card. This at least works as a temporary solution.
| Reporter | ||
Comment 3•3 years ago
|
||
Is it worth trying to get a regression window?
| Assignee | ||
Comment 4•3 years ago
|
||
Hi Jeff,
we already detected the regression window. The issue is caused by the patch for Bug 1775233. We hope by optimizing our machine learning algorithm Fathom, that is detecting and categorizing the different form input fields, that problems like this issue will be solved as well.
| Reporter | ||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Set release status flags based on info from the regressing bug 1775233
Updated•3 years ago
|
| Assignee | ||
Comment 6•3 years ago
|
||
The input#card-number-5e6602ab field meets the following rules from the creditCardRuleset of type cc-number:
1: hasTemplatedValue → 0
2: idOrNameMatchDwfrmAndBml → 0
3: idOrNameMatchSubscription → 0
4: ariaLabelMatchesGift → 0
5: placeholderMatchesGift → 0
6: labelsMatchGift → 0
7: idOrNameMatchGift → 0
8: ariaLabelMatchesNumberRegExp → 0
9: placeholderMatchesNumberRegExp → 0
10: closestLabelMatchesNumberRegExp → 1
11: labelsMatchNumberRegExp → 1
12: idOrNameMatchNumberRegExp → 1
Fathom calculates a 0.9999536363015451 probability that this is a cc-number (>threshold).
| Reporter | ||
Comment 7•3 years ago
|
||
I also see this bug at https://auth.scotiaonline.scotiabank.com/online
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Reporter | ||
Comment 9•3 years ago
|
||
This is happening again. Should I open a new bug?
Comment 10•3 years ago
|
||
Hi Jeff, thank you for reporting this issue,
The issue is happening again because Bug 1792544. Firefox now always honor the autocomplete attribute set by websites.
The markup of the card number field is
<input id="12-field" type="text" name="cardnumber" maxlength="19" aria-describedby="vue12-messages CardTypeIconId-11"
aria-invalid="false" autocomplete="cc-number" data-test-id="card-number-input" error="false" class="">
Because it has autocomplete="cc-number", Firefox treats it as a credit card number field.
| Reporter | ||
Comment 11•3 years ago
|
||
If the field has autocomplete="cc-number" it seems reasonable for Firefox to always honour it.
Description
•