Bug 1939468 - Ensure ScotchBonnet is enabled for searchRestoreDefault test. r=settings-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D233072
This commit is contained in:
@@ -7,6 +7,13 @@ const { SearchTestUtils } = ChromeUtils.importESModule(
|
||||
const { SearchUtils } = ChromeUtils.importESModule(
|
||||
"resource://gre/modules/SearchUtils.sys.mjs"
|
||||
);
|
||||
|
||||
add_setup(async function () {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["browser.urlbar.scotchBonnet.enableOverride", true]],
|
||||
});
|
||||
});
|
||||
|
||||
add_task(async function test_restore_functionality() {
|
||||
// Ensure no engines are hidden to begin with.
|
||||
for (let engine of await Services.search.getAppProvidedEngines()) {
|
||||
|
||||
Reference in New Issue
Block a user