1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 var EXPORTED_SYMBOLS = ["RecommendedPreferences"];
9 const RecommendedPreferences = {
10 // Allow the application to have focus even when it runs in the background.
11 "focusmanager.testmode": true,
13 // Avoid breaking odd-runs of firefox because of it running in safe mode.
14 // Firefox will run in safe mode alsmost on every even/odd runs as
15 // Puppeteer may very easily shutdown Firefox process brutaly and force
16 // it to run in safe mode in the next run.
17 "toolkit.startup.max_resumed_crashes": -1,
19 // Prevent various error message on the console
20 // jest-puppeteer asserts that no error message is emitted by the console
21 "browser.contentblocking.features.standard": "-tp,tpPrivate,cookieBehavior0,-cm,-fp",
22 "network.cookie.cookieBehavior": 0,