Bug 1609356 - Enable application panel in Nightly r=jdescottes

Differential Revision: https://phabricator.services.mozilla.com/D60143

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Belén Albeza 2020-01-22 16:42:17 +00:00
parent 331926ea06
commit ec4650bec8
3 changed files with 9 additions and 5 deletions

View File

@ -2078,8 +2078,12 @@ pref("devtools.netmonitor.enabled", true);
pref("devtools.netmonitor.features.search", true);
pref("devtools.netmonitor.features.requestBlocking", true);
// Enable the Application panel
pref("devtools.application.enabled", false);
// Enable the Application panel on Nightly
#if defined(NIGHTLY_BUILD)
pref("devtools.application.enabled", true);
#else
pref("devtools.application.enabled", false);
#endif
// The default Network Monitor UI settings
pref("devtools.netmonitor.panes-network-details-width", 550);

View File

@ -6,7 +6,7 @@ The Application panel is a Firefox Developer Tools panel meant to allow the insp
### How to enable the Application panel
At the moment, the panel is hidden behind a configuration flag. In order to enable it, type `about:config` in the address bar, look for the `devtools.application.enabled` flag and set it to true. It will then appear as a tab with the rest of the panels within the Developer Tools toolbox.
At the moment, the panel is shown by default on Nightly builds only, behind a configuration flag. In order to enable it, type `about:config` in the address bar, look for the `devtools.application.enabled` flag and set it to true. It will then appear as a tab with the rest of the panels within the Developer Tools toolbox.
## Technical overview

View File

@ -465,8 +465,8 @@ Tools.application = {
label: l10n("application.label"),
panelLabel: l10n("application.panellabel"),
tooltip: l10n("application.tooltip"),
inMenu: false,
hiddenInOptions: true,
inMenu: AppConstants.NIGHTLY_BUILD,
hiddenInOptions: !AppConstants.NIGHTLY_BUILD,
isTargetSupported: function(target) {
return target.hasActor("manifest");