--- a/browser/extensions/formautofill/test/unit/test_profileAutocompleteResult.js
+++ b/browser/extensions/formautofill/test/unit/test_profileAutocompleteResult.js
@@ -49,26 +49,26 @@ let addressTestCases = [{
matchingProfiles,
allFieldNames,
searchString: "",
fieldName: "organization",
expected: {
searchResult: Ci.nsIAutoCompleteResult.RESULT_SUCCESS,
defaultIndex: 0,
items: [{
- value: "Sesame Street",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[0]),
label: JSON.stringify({
primary: "Sesame Street",
secondary: "123 Sesame Street.",
}),
image: "",
}, {
- value: "Mozilla",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[1]),
label: JSON.stringify({
primary: "Mozilla",
secondary: "331 E. Evelyn Avenue",
}),
image: "",
}],
@@ -79,35 +79,35 @@ let addressTestCases = [{
matchingProfiles,
allFieldNames,
searchString: "",
fieldName: "tel",
expected: {
searchResult: Ci.nsIAutoCompleteResult.RESULT_SUCCESS,
defaultIndex: 0,
items: [{
- value: "1-345-345-3456.",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[0]),
label: JSON.stringify({
primary: "1-345-345-3456.",
secondary: "123 Sesame Street.",
}),
image: "",
}, {
- value: "1-650-903-0800",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[1]),
label: JSON.stringify({
primary: "1-650-903-0800",
secondary: "331 E. Evelyn Avenue",
}),
image: "",
}, {
- value: "1-000-000-0000",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[2]),
label: JSON.stringify({
primary: "1-000-000-0000",
secondary: "321, No Name St. 2nd line 3rd line",
}),
image: "",
}],
@@ -118,35 +118,35 @@ let addressTestCases = [{
matchingProfiles,
allFieldNames,
searchString: "",
fieldName: "street-address",
expected: {
searchResult: Ci.nsIAutoCompleteResult.RESULT_SUCCESS,
defaultIndex: 0,
items: [{
- value: "123 Sesame Street.",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[0]),
label: JSON.stringify({
primary: "123 Sesame Street.",
secondary: "Timothy Berners-Lee",
}),
image: "",
}, {
- value: "331 E. Evelyn Avenue",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[1]),
label: JSON.stringify({
primary: "331 E. Evelyn Avenue",
secondary: "John Doe",
}),
image: "",
}, {
- value: "321, No Name St. 2nd line 3rd line",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[2]),
label: JSON.stringify({
primary: "321, No Name St. 2nd line 3rd line",
secondary: "1-000-000-0000",
}),
image: "",
}],
@@ -157,35 +157,35 @@ let addressTestCases = [{
matchingProfiles,
allFieldNames,
searchString: "",
fieldName: "address-line1",
expected: {
searchResult: Ci.nsIAutoCompleteResult.RESULT_SUCCESS,
defaultIndex: 0,
items: [{
- value: "123 Sesame Street.",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[0]),
label: JSON.stringify({
primary: "123 Sesame Street.",
secondary: "Timothy Berners-Lee",
}),
image: "",
}, {
- value: "331 E. Evelyn Avenue",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[1]),
label: JSON.stringify({
primary: "331 E. Evelyn Avenue",
secondary: "John Doe",
}),
image: "",
}, {
- value: "321, No Name St.",
+ value: "",
style: "autofill-profile",
comment: JSON.stringify(matchingProfiles[2]),
label: JSON.stringify({
primary: "321, No Name St.",
secondary: "1-000-000-0000",
}),
image: "",
}],