Bug 1568151 - Replace `target.getInspector()` by `target.getFront("inspector")`....
[gecko.git] / remote / RecommendedPreferences.jsm
blob7589e23a1763176ccb7cfe896cc9358d54cf35ee
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/. */
5 "use strict";
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":
22     "-tp,tpPrivate,cookieBehavior0,-cm,-fp",
23   "network.cookie.cookieBehavior": 0,