Bug 1329628 - [Empty] Part 3. Shorten the additional information by categorizing field name into certain groups.
MozReview-Commit-ID: BXIj89IuzR6
--- a/browser/extensions/formautofill/FormAutofillUtils.jsm
+++ b/browser/extensions/formautofill/FormAutofillUtils.jsm
@@ -49,13 +49,17 @@ this.FormAutofillUtils = {
log.debug("Label found in input's parent or ancestor.");
return [parent];
}
parent = parent.parentNode;
} while (parent);
return [];
},
+
+ categorizeFieldNameIntoGroup(fieldName) {
+ // TODO: categorize
+ },
};
this.log = null;
this.FormAutofillUtils.defineLazyLogGetter(this, this.EXPORTED_SYMBOLS[0]);