Bug 1480900 follow-up: Fix lint failure
☠☠ backed out by 6c83f735355d ☠ ☠
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 31 Aug 2018 16:16:20 -0400
changeset 482646 5a55e5b741076790c0fead2d758fa5dc5d76b839
parent 482645 ea2402bdef4006d7cb8b52cad68bcee9de438c7a
child 482647 78b8ff88999258a6d270ad452859d82b9e8dc031
push id232
push userfmarier@mozilla.com
push dateWed, 05 Sep 2018 20:45:54 +0000
bugs1480900
milestone63.0a1
Bug 1480900 follow-up: Fix lint failure Landed on a CLOSED TREE
browser/extensions/formautofill/test/browser/browser_privacyPreferences.js
--- a/browser/extensions/formautofill/test/browser/browser_privacyPreferences.js
+++ b/browser/extensions/formautofill/test/browser/browser_privacyPreferences.js
@@ -76,28 +76,28 @@ add_task(async function test_autofillChe
     await finalPrefPaneLoaded;
     await ContentTask.spawn(browser, SELECTORS, (selectors) => {
       is(content.document.querySelector(selectors.group).hidden, false,
         "Form Autofill group should be visible");
       is(content.document.querySelector(selectors.addressAutofillCheckbox).checked, false,
         "Checkbox should be unchecked when Autofill Addresses is disabled");
       is(content.document.querySelector(selectors.creditCardAutofillCheckbox).checked, false,
         "Checkbox should be unchecked when Autofill Credit Cards is disabled");
-      content.document.querySelector(selectors.addressAutofillCheckbox).
-        scrollIntoView({block: "center", behavior: "instant"});
+      content.document.querySelector(selectors.addressAutofillCheckbox)
+        .scrollIntoView({block: "center", behavior: "instant"});
     });
 
     info("test toggling the checkboxes");
     await BrowserTestUtils.synthesizeMouseAtCenter(SELECTORS.addressAutofillCheckbox, {}, browser);
     is(Services.prefs.getBoolPref(ENABLED_AUTOFILL_ADDRESSES_PREF), true,
        "Check address autofill is now enabled");
 
     await ContentTask.spawn(browser, SELECTORS, (selectors) => {
-      content.document.querySelector(selectors.creditCardAutofillCheckbox).
-        scrollIntoView({block: "center", behavior: "instant"});
+      content.document.querySelector(selectors.creditCardAutofillCheckbox)
+        .scrollIntoView({block: "center", behavior: "instant"});
     });
     await BrowserTestUtils.synthesizeMouseAtCenter(SELECTORS.creditCardAutofillCheckbox, {}, browser);
     is(Services.prefs.getBoolPref(ENABLED_AUTOFILL_CREDITCARDS_PREF), true,
        "Check credit card autofill is now enabled");
   });
 });
 
 add_task(async function test_creditCardNotAvailable() {