--- a/toolkit/mozapps/extensions/test/browser/browser_experiments.js
+++ b/toolkit/mozapps/extensions/test/browser/browser_experiments.js
@@ -224,17 +224,18 @@ add_task(function* testOpenPreferences()
});
}, "advanced-pane-loaded", false);
info("Loading preferences pane.");
// We need to focus before synthesizing the mouse event (bug 1240052) as
// synthesizeMouseAtCenter currently only synthesizes the mouse in the child process.
// This can cause some subtle differences if the child isn't focused.
yield SimpleTest.promiseFocus();
- yield BrowserTestUtils.synthesizeMouseAtCenter("#experiments-change-telemetry", {}, gBrowser.selectedBrowser);
+ yield BrowserTestUtils.synthesizeMouseAtCenter("#experiments-change-telemetry", {},
+ gBrowser.selectedBrowser);
yield deferred.promise;
});
add_task(function* testButtonPresence() {
yield gCategoryUtilities.openType("experiment");
let item = get_addon_element(gManagerWindow, "test-experiment1@experiments.mozilla.org");
Assert.ok(item, "Got add-on element.");