Bug 1395019 - [Form Autofill] Part 2: Support filling in "cc-given-name", "cc-additional-name" and "cc-family-name". r=seanlee
MozReview-Commit-ID: FslTHp7j1Wz
--- a/browser/extensions/formautofill/FormAutofillUtils.jsm
+++ b/browser/extensions/formautofill/FormAutofillUtils.jsm
@@ -53,16 +53,19 @@ this.FormAutofillUtils = {
"tel-national": "tel",
"tel-area-code": "tel",
"tel-local": "tel",
"tel-local-prefix": "tel",
"tel-local-suffix": "tel",
"tel-extension": "tel",
"email": "email",
"cc-name": "creditCard",
+ "cc-given-name": "creditCard",
+ "cc-additional-name": "creditCard",
+ "cc-family-name": "creditCard",
"cc-number": "creditCard",
"cc-exp-month": "creditCard",
"cc-exp-year": "creditCard",
"cc-exp": "creditCard",
},
_addressDataLoaded: false,
_collators: {},
_reAlternativeCountryNames: {},