Bug 1385753 - [Form Autofill] Group tel-related fields when calculating the secondary label. r=ralin
MozReview-Commit-ID: GnltrVH43jf
--- a/browser/extensions/formautofill/ProfileAutoCompleteResult.jsm
+++ b/browser/extensions/formautofill/ProfileAutoCompleteResult.jsm
@@ -175,16 +175,25 @@ class AddressResult extends ProfileAutoC
"address-line1",
"address-line2",
"address-line3",
],
"country-name": [
"country",
"country-name",
],
+ "tel": [
+ "tel",
+ "tel-country-code",
+ "tel-national",
+ "tel-area-code",
+ "tel-local",
+ "tel-local-prefix",
+ "tel-local-suffix",
+ ],
};
const secondaryLabelOrder = [
"street-address", // Street address
"name", // Full name
"address-level2", // City/Town
"organization", // Company or organization name
"address-level1", // Province/State (Standardized code if possible)