Closed Bug 1783194 Opened 3 years ago Closed 3 years ago

Firefox thinks that the card number field on cibc.com is a credit card number field

Categories

(Toolkit :: Form Autofill, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1788621
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

hi janika, could you help take a look at this bug? Thanks!

Flags: needinfo?(jneuberger)
Assignee: nobody → jneuberger
Status: NEW → ASSIGNED
Flags: needinfo?(jneuberger)
Severity: -- → S3
Priority: -- → P2
See Also: → 1783488

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.

Is it worth trying to get a regression window?

Flags: needinfo?(jneuberger)

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.

Flags: needinfo?(jneuberger)
Regressed by: 1775233
Keywords: regression

Set release status flags based on info from the regressing bug 1775233

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).

Depends on: 1788621
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Flags: qe-verify?
Resolution: --- → DUPLICATE

This is happening again. Should I open a new bug?

Status: RESOLVED → REOPENED
No longer duplicate of bug: 1788621
Flags: needinfo?(dlee)
Resolution: DUPLICATE → ---

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.

Status: REOPENED → NEW
Flags: needinfo?(dlee)
Priority: P2 → P3

If the field has autocomplete="cc-number" it seems reasonable for Firefox to always honour it.

Status: NEW → RESOLVED
Closed: 3 years ago3 years ago
Duplicate of bug: 1788621
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.