gecko-dev/devtools/shim/devtools-startup-prefs.js
Julian Descottes 67391889ec Bug 1386821 - call initDevTools if devtools.toolbar.visible is true;r=ochameau
MozReview-Commit-ID: C1EFv9T0VKS

--HG--
extra : rebase_source : dc80edf968e75cfdbf3556c062901cbf9875c4a6
2017-08-03 08:57:38 +02:00

23 lines
955 B
JavaScript

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// This Devtools preferences file will be loaded as a usual Firefox preferences file.
// Most DevTools prefs are included with the addon and loaded dynamically during the addon
// startup. For preferences that are required before the addon is loaded or that we can't
// process in JS, they can be defined in this file.
// Note that this preference file follows Firefox release cycle.
// Enable the JSON View tool (an inspector for application/json documents).
pref("devtools.jsonview.enabled", true);
// Default theme ("dark" or "light")
#ifdef MOZ_DEV_EDITION
sticky_pref("devtools.theme", "dark");
#else
sticky_pref("devtools.theme", "light");
#endif
// Should the devtools toolbar be opened on startup
pref("devtools.toolbar.visible", false);