Bug 1480900 follow-up: Fix lint failure

Landed on a CLOSED TREE
This commit is contained in:
Ehsan Akhgari 2018-08-31 16:16:20 -04:00
parent fe0d617191
commit 7013faf184

View File

@ -81,8 +81,8 @@ add_task(async function test_autofillCheckboxes() {
"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");
@ -91,8 +91,8 @@ add_task(async function test_autofillCheckboxes() {
"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,