[Form Autofill] Misdetect cc-csc as cc-exp-year

NEW
Unassigned

Status

()

Toolkit
Form Autofill
P3
normal
2 months ago
18 days ago

People

(Reporter: lchang, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

2 months ago
Created attachment 8935605 [details]
bug.mov

The bug was found during the signup process of paypal.com. Please find the attachment for the details. Following is a reduced sample HTML.

<form>
    <input name="/cardData/cardNumber" id="cardData_cardNumber" maxlength="19" size="19">
    <input name="/cardData/expiryDate" id="cardData_expiryDate" maxlength="5" size="5" placeholder="__/__" type="tel">
    <input name="/cardData/csc" id="cardData_csc" maxlength="3" size="3" placeholder="___" type="tel">
</form>

Comment 1

18 days ago
Just a short note. We decided to bring the heuristic from Chrome piece by piece. One of the enhancement would be length checking, which we should have implemented in the first place but didn't. I think it might be a direction to go for this case.
You need to log in before you can comment on or make changes to this bug.