Bug 1129629 - Update test_user_autocomplete_result.js style checks. r=bustage
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Wed, 23 Nov 2016 15:50:57 -0800
changeset 324146 fcbb8882491faa45227d254056173080b2418da6
parent 324145 fa486f98ec41af3bc0f7d97e32b7f11bc4e1296f
child 324147 5e87f33d7a227bbc74f04ed82c36e67ef734aa03
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersbustage
bugs1129629
milestone53.0a1
Bug 1129629 - Update test_user_autocomplete_result.js style checks. r=bustage MozReview-Commit-ID: 1bBpg4j4hOp
toolkit/components/passwordmgr/test/unit/test_user_autocomplete_result.js
--- a/toolkit/components/passwordmgr/test/unit/test_user_autocomplete_result.js
+++ b/toolkit/components/passwordmgr/test/unit/test_user_autocomplete_result.js
@@ -34,385 +34,385 @@ let expectedResults = [
     insecureFieldWarningEnabled: true,
     insecureAutoFillFormsEnabled: true,
     isSecure: true,
     isPasswordField: false,
     matchingLogins: matchingLogins,
     items: [{
       value: "",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "tempuser1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testuser2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testuser3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzuser4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: true,
     insecureAutoFillFormsEnabled: true,
     isSecure: false,
     isPasswordField: false,
     matchingLogins: matchingLogins,
     items: [{
       value: "",
       label: "This connection is not secure. Logins entered here could be compromised.",
       style: "insecureWarning"
     }, {
       value: "",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "tempuser1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testuser2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testuser3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzuser4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: true,
     insecureAutoFillFormsEnabled: true,
     isSecure: true,
     isPasswordField: true,
     matchingLogins: matchingLogins,
     items: [{
       value: "emptypass1",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "temppass1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testpass2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testpass3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzpass4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: true,
     insecureAutoFillFormsEnabled: true,
     isSecure: false,
     isPasswordField: true,
     matchingLogins: matchingLogins,
     items: [{
       value: "",
       label: "This connection is not secure. Logins entered here could be compromised.",
       style: "insecureWarning"
     }, {
       value: "emptypass1",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "temppass1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testpass2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testpass3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzpass4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: false,
     insecureAutoFillFormsEnabled: true,
     isSecure: true,
     isPasswordField: false,
     matchingLogins: matchingLogins,
     items: [{
       value: "",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "tempuser1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testuser2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testuser3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzuser4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: false,
     insecureAutoFillFormsEnabled: true,
     isSecure: false,
     isPasswordField: false,
     matchingLogins: matchingLogins,
     items: [{
       value: "",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "tempuser1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testuser2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testuser3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzuser4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: false,
     insecureAutoFillFormsEnabled: true,
     isSecure: true,
     isPasswordField: true,
     matchingLogins: matchingLogins,
     items: [{
       value: "emptypass1",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "temppass1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testpass2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testpass3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzpass4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: false,
     insecureAutoFillFormsEnabled: true,
     isSecure: false,
     isPasswordField: true,
     matchingLogins: matchingLogins,
     items: [{
       value: "emptypass1",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "temppass1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testpass2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testpass3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzpass4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: true,
     insecureAutoFillFormsEnabled: false,
     isSecure: true,
     isPasswordField: false,
     matchingLogins: matchingLogins,
     items: [{
       value: "",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "tempuser1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testuser2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testuser3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzuser4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: true,
     insecureAutoFillFormsEnabled: false,
     isSecure: false,
     isPasswordField: false,
     matchingLogins: matchingLogins,
     items: [{
       value: "",
       label: "This connection is not secure. Logins entered here could be compromised.",
       style: "insecureWarning"
     }, {
       value: "",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "tempuser1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testuser2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testuser3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzuser4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: true,
     insecureAutoFillFormsEnabled: false,
     isSecure: true,
     isPasswordField: true,
     matchingLogins: matchingLogins,
     items: [{
       value: "emptypass1",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "temppass1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testpass2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testpass3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzpass4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: true,
     insecureAutoFillFormsEnabled: false,
     isSecure: false,
     isPasswordField: true,
     matchingLogins: matchingLogins,
     items: [{
       value: "",
       label: "This connection is not secure. Logins entered here could be compromised.",
       style: "insecureWarning"
     }, {
       value: "emptypass1",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "temppass1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testpass2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testpass3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzpass4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: false,
     insecureAutoFillFormsEnabled: false,
     isSecure: true,
     isPasswordField: false,
     matchingLogins: matchingLogins,
     items: [{
       value: "",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "tempuser1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testuser2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testuser3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzuser4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: false,
     insecureAutoFillFormsEnabled: false,
     isSecure: false,
     isPasswordField: false,
     matchingLogins: matchingLogins,
@@ -422,33 +422,33 @@ let expectedResults = [
     insecureFieldWarningEnabled: false,
     insecureAutoFillFormsEnabled: false,
     isSecure: true,
     isPasswordField: true,
     matchingLogins: matchingLogins,
     items: [{
       value: "emptypass1",
       label: LABEL_NO_USERNAME,
-      style: ""
+      style: "login",
     }, {
       value: "temppass1",
       label: "tempuser1",
-      style: ""
+      style: "login",
     }, {
       value: "testpass2",
       label: "testuser2",
-      style: ""
+      style: "login",
     }, {
       value: "testpass3",
       label: "testuser3",
-      style: ""
+      style: "login",
     }, {
       value: "zzzpass4",
       label: "zzzuser4",
-      style: ""
+      style: "login",
     }]
   },
   {
     insecureFieldWarningEnabled: false,
     insecureAutoFillFormsEnabled: false,
     isSecure: false,
     isPasswordField: true,
     matchingLogins: matchingLogins,