Firefox/Features/Form Autofill/Credit Cards

From MozillaWiki
Jump to: navigation, search


Ship credit card autofill to the US/CA market, then iterate on the feature and add locales. Develop good telemetry to ascertain how successful we are at filling the right fields.

Phase I Project

Testing Tips

  1. Purchase a Visa or Mastercard Giftcard from your local grocer. $100 USD or less. You can expense this through Expensify, or if you never actually purchase anything using it, spend it on groceries or whatever for yourself. Probably best to wait and see if you actually end up needing to charge something on the gift card before expensing. Any products you end up purchasing should be donated to charity.
  2. Open your default Firefox build/profile normally and visit 'about:profiles'. Create a fresh profile (for example, 'test').
  3. Open a terminal/console at the location of the Firefox install you plan to test. Run Firefox using the command "firefox -p (profile name)"
  4. Test. Usually you can bailout of a purchase at the confirm purchase stage after UX associated with credit card autofill has been displayed.
  5. Open your default Firefox build/profile again. You may find that the 'test' profile has been set as default. Visit 'about:profiles' to set your preferred profile back to default. Close Firefox.
  6. Open your default Firefox build/profile, visit "about:profiles" and delete (including associated user data) your 'test' profile.

Additional command line 'power tools' are available as well. Visit this MDN page for more information.


You can set the pref 'extensions.formautofill.loglevel' to 'all' to pick up debugging output from the form autofill code. The debug output handlers ('debug' and 'log') are defined at the top of FormAutofill.jsm.


Bug Lists

Triage Lists

Project Tags

  • [cc-autofill-mvp] Whiteboard tag for MVP bugs team is commiting to complete within the schedule.
  • [cc-autofill-reserve] Whiteboard tag for low-priority bugs the team is not committing to complete within the schedule.
  • [ccautofill] Whiteboard tag for bugs that require triage (clear this tag once triaged).

Inline Bug Lists

All MVP Bugs

Full Query
ID Summary Status Assigned to Priority
1395928 [Form Autofill] Form autofill doesn't always generate events web content expects RESOLVED Adam Roach [:abr] P2
1428269 On, credit card autofill doesn't work RESOLVED Adam Roach [:abr] P2
1429322 Show credit card logos in credit card autofill UI VERIFIED Adam Roach [:abr] P1
1527743 Add a checkbox in prefs to toggle extensions.formautofill.reauth.enabled VERIFIED Zibi Braniecki [:zbraniecki][:gandalf] P2
1604170 No icon for “Credit Cards” in “Sync Settings” VERIFIED Mark Hammond [:markh] [:mhammond] P3
1604807 Clear form dropdown menu appears right after telephone or credit number are filled VERIFIED Adam Roach [:abr] P2
1619320 [Form Autofill] Trying to save Credit Card details without having a Saved Address beforehand might lead to user confusion VERIFIED Zibi Braniecki [:zbraniecki][:gandalf] P1
1624646 macOS OS re-auth string for credit card autofill has a redundant prefix provided by macOS VERIFIED Adam Roach [:abr] P1
1639795 Use a friendlier name for the OSKeyStore Keychain item VERIFIED Adam Roach [:abr] P1
1642058 Add expiration date in card list view under Preferences VERIFIED Adam Roach [:abr] P1
1642059 Credit card autofill dropdown only appears on the 2nd click VERIFIED Adam Roach [:abr] P1
1642060 Card type/network isn't filled using heuristics (e.g. on Macy's) RESOLVED Zibi Braniecki [:zbraniecki][:gandalf] P3
1642064 Modal should say "add credit card" instead of edit credit card when user clicks add VERIFIED Zibi Braniecki [:zbraniecki][:gandalf] P2
1644510 Update credit card save doorhanger and content dropdown text VERIFIED Zibi Braniecki [:zbraniecki][:gandalf] P2
1644603 SUMO Page for Credit Card Autofill VERIFIED chsiang P2
1645487 Update Form Autofill Preferences "Learn More" link for Credit Cards VERIFIED Adam Roach [:abr] P2
1645502 Request a security review on credit card autofill RESOLVED Jim Mathies [:jimm] P2
1645503 Request an accessibility review of credit card autofill ASSIGNED Jim Mathies [:jimm] P2
1645735 [] Exp date format is incorrectly auto-filled and highlighter overlaps CC logo placeholder VERIFIED Adam Roach [:abr] P2
1645922 Fields are not saved after choosing to save the credit card from the doorhanger VERIFIED Zibi Braniecki [:zbraniecki][:gandalf] P1
1646531 Open credit-card autofill pop-up when user clears a credit-card field VERIFIED Adam Roach [:abr] P2
1647043 Add IIN detection when saving a credit card VERIFIED Zibi Braniecki [:zbraniecki][:gandalf] P1
1647292 The credit card image placeholder is not displayed in the doorhanger when no cards are saved ASSIGNED Adam Roach [:abr] P2
1647379 Telemetry - Record when the credit card capture doorhanger is displayed NEW P2
1647380 Telemetry - Record when a user elects to save a credit card though the capture doorhanger NEW P2
1647388 Telemetry - Record when the update entry doorhanger is dismissed NEW P2
1647393 Telemetry - Record when the credit card autofill dropdown is displayed NEW P2
1647652 Credit card entries are not deduped if the same CC number is used with additional fields (manual fill) ASSIGNED Zibi Braniecki [:zbraniecki][:gandalf] P1
1647679 [MacOS] Credit Card autofill is not displayed after restarting the browser for updates NEW P2
1647729 Telemetry - Record when a user clicks "never show again" on the capture doorhanger NEW P2
1647944 Add Bitwarden matching rules to autofill heuristics RESOLVED Adam Roach [:abr] P2
1648187 User is prompted for OS-level authentication to fill credit card information even if `extensions.formautofill.reauth.enabled` is false VERIFIED Adam Roach [:abr] P1
1648551 Firefox fails to capture on Stripe checkout for RESOLVED Adam Roach [:abr] P2
1649858 Add SUMO link to re-authentication UI VERIFIED Zibi Braniecki [:zbraniecki][:gandalf] P2
1650033 Diners Club logo is not detect when submit a credit card using a Diners Club CC number VERIFIED Zibi Braniecki [:zbraniecki][:gandalf] P2
1650198 Audit test coverage for credit card autofill and turn on as much as possible ASSIGNED Jim Mathies [:jimm] P2
1650222 Editing a credit card number through preferences fails NEW Zibi Braniecki [:zbraniecki][:gandalf] P2
1650961 Restrict the clickjacking delay to credit card fields RESOLVED Zibi Braniecki [:zbraniecki][:gandalf] P2

38 Total; 11 Open (28.95%); 7 Resolved (18.42%); 20 Verified (52.63%);

All Reserve Bugs

Full Query
ID Summary Status Assigned to Priority
990203 [Form Autofill] Collect information on how many autofill profiles users save NEW P3
1352330 [Form Autofill] - Record one for each non-empty field at submission time (keyed by fieldName) NEW P3
1373662 [Form Autofill] Dropdown UI flickers when first time opening form autofill popup after browser launched NEW P3
1390674 Preferences -> Forms -> Saved Addresses/Credit Cards shows a weird highlight rectangle when empty NEW P3
1391634 [Form Autofill] Create the proper record for credit card select element in form submission NEW P3
1392950 [Credit Card Autofill] Misdetect some fields (membership#, bank routing#) as cc-number fields NEW P3
1392958 [Credit Card Autofill] Cardholder name field in Sears should be detected as cc-name NEW P3
1423615 Can not trigger autofill suggestions in a field which contains a formatting string NEW P3
1424119 [Credit Card Autofill] Misdetect cc-csc as cc-exp-year (Paypal) NEW P3
1425252 On, no autofill dropdown shown up for the Card Number field NEW P2
1425884 Intermittent browser/extensions/formautofill/test/browser/browser_creditCard_doorhanger.js | Uncaught exception - TypeError: form is null NEW P3
1426652 On autofill credit card is not working NEW P3
1427518 Credit cards don't fill in on GiveWell NEW P3
1427956 A changed form element causes the state of the previously-filled section to be cleared NEW P4
1428729 On, credit card autofill doesn't work because "KKnr/KKMonth/KKYear" can't be identified as "cc-number/cc-exp-month/cc-exp-year" NEW P4
1429340 Make sure the credit card expiry date could adapt maxLength correctly NEW P3
1430633 Intermittent browser/extensions/formautofill/test/mochitest/creditCard/test_basic_creditcard_autocomplete_form.html | Test timed out. NEW P5
1435124 Credit cards don't fill in on SquareUp NEW P3
1437812 [Form Autofill] - Credit Card autofill does not work on NEW P4
1443042 Credit Card Autofill should permit a label for each card to permit distinguishing between duplicate last-four NEW P4
1451704 [Form Autofill] Support SEPA's IBAN and BIC like credit card for Direct Bank Debit (EU market) NEW P3
1452605 [Form autofill] Credit Card Month field is populated with year value on German checkout page NEW P4
1480635 Add an opt-in option to save address and credit card info in private browsing NEW P4
1496135 Intermittent Test-Verify TEST-UNEXPECTED-TIMEOUT | browser/extensions/formautofill/test/browser/browser_manageCreditCardsDialog.js | application timed out after 370 seconds with no output NEW P3
1496472 The Expiration date of the card is not being cleared by clicking the clear button ( NEW P3
1499241 OS Key Store usage can cause multiple OS prompts for a single credit card action NEW P3
1527745 Implement OS re-authentication on Linux (Gnome Keyring) NEW P4
1546676 Credit card autofill not suggested on NEW P3
1630209 Intermittent browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_dropdown_layout.js | Uncaught exception - The popup should be a form autofill one - timed out after 50 tries. REOPENED P3
1642062 Save credit card doorhanger doesn't appear on Macy's or BestBuy NEW P2
1645733 [QVC] Expiration date is incorrectly autofilled, autofill highglight is missing and conflicts with field placeholders NEW P3
1645736 [] CC autofill broken if Exp Date fields are hidden and revealed only after CC number is filled in NEW P3
1645737 [] Expiration Date is not selected for the checkout form by autofilling the CC number NEW P3
1645772 [] CC autofill breaks form fields layout and placeholders NEW P3
1647241 The last characters/digits of the Name and CC number are overlapped by the scrollbar in the CC autofill dropdown (for items on the same row) NEW P3
1647261 [] Credit card autofill dropdown is not displayed on all the fields on a payment form NEW P3
1647381 []Credit Card Autofill Expiration date has invalid format NEW P2
1647384 Telemetry - Record when a user dismisses the capture doorhanger NEW P3
1647386 Telemetry - Record when the update entry doorhanger is displayed NEW P3
1647387 Telemetry - Record when a user clicks to update an entry from the doorhanger NEW P3
1647389 Telemetry - Record when Firefox detects an EMPTY credit card form NEW P3
1647390 Telemetry - Record when the user elects to fill a CC number into a form NEW P3
1647396 Telemetry - Record when a user opens autofill prefs NEW P3
1647397 Telemetry - Record when a user opens the credit card and address management interface NEW P3
1647399 Telemetry - Record when a user manually adds a new card via management interface NEW P3
1647401 Telemetry - Record when a user deletes a credit card via management interface NEW P3
1647402 Telemetry - Record when a user clicks to modify an entry via management interface NEW P3
1647404 Telemetry - Record when a user successfully modifies an entry via management interface NEW P3
1647459 FormAutofillHeuristics.jsm should normalize field names before searching them NEW P4
1647637 The red warning border for empty or invalid fields while adding a new CC isn't displayed correctly NEW P3
1649304 [HomeDepot] When the website clears the CC field (after the user clicks out and back in), "Clear Autofill" fails to work. NEW P3
1650863 Credit Card Autofill should disqualify fields that are nonsensically short NEW P3
1651123 [Staples] Autofill highlighting prevents display of in-field credit card logo NEW P3

53 Total; 53 Open (100%); 0 Resolved (0%); 0 Verified (0%);

Triage - Bugs Requiring Priority

No results.

0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);

Triage - Determining Backlog Status

Full Query
ID Summary Status Assigned to Priority
1649028 Mastercard starting with 542418 detected as Diner's Club NEW --
1651945 The Expiration date of the card is not being autofilled on NEW --

2 Total; 2 Open (100%); 0 Resolved (0%); 0 Verified (0%);