Firefox/Features/Form Autofill/Credit Cards

From New wiki
Jump to navigation Jump to search

Introduction

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.

Debugging

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.

Bugzilla

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

<bugzilla> {

       "whiteboard": "[cc-autofill-mvp]",        
       "include_fields":"id, summary, status, assigned_to, priority"

} </bugzilla>

All Reserve Bugs

<bugzilla> {

       "whiteboard": "[cc-autofill-reserve]",        
       "include_fields":"id, summary, status, assigned_to, priority"

} </bugzilla>

Triage - Bugs Requiring Priority

<bugzilla> {

       "whiteboard": "[cc-autofill-mvp]", 
       "priority":  "--",       
       "include_fields":"id, summary, status, assigned_to, priority"

} </bugzilla>

Triage - Determining Backlog Status

<bugzilla> {

       "whiteboard": "[ccautofill]",      
       "include_fields":"id, summary, status, assigned_to, priority"

} </bugzilla>