[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser] 90/311: Bug 1757143 - [devtools] Show the settings to toggle the new performance panel on all channels r=julienw a=pascalc



This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.

commit f592d2252b730cae99fb8c8459368c08d82e8333
Author: Julian Descottes <jdescottes@xxxxxxxxxxx>
AuthorDate: Fri Feb 25 12:48:56 2022 +0000

    Bug 1757143 - [devtools] Show the settings to toggle the new performance panel on all channels r=julienw  a=pascalc
    
    Differential Revision: https://phabricator.services.mozilla.com/D139688
---
 devtools/client/framework/toolbox-options.js | 24 ++++++------------------
 1 file changed, 6 insertions(+), 18 deletions(-)

diff --git a/devtools/client/framework/toolbox-options.js b/devtools/client/framework/toolbox-options.js
index 1b0bc26c92e9a..53eef52d5ecce 100644
--- a/devtools/client/framework/toolbox-options.js
+++ b/devtools/client/framework/toolbox-options.js
@@ -12,12 +12,6 @@ const L10N = new LocalizationHelper(
   "devtools/client/locales/toolbox.properties"
 );
 
-loader.lazyRequireGetter(
-  this,
-  "AppConstants",
-  "resource://gre/modules/AppConstants.jsm",
-  true
-);
 loader.lazyRequireGetter(
   this,
   "openDocLink",
@@ -430,18 +424,12 @@ OptionsPanel.prototype = {
   setupAdditionalOptions: function() {
     const prefDefinitions = [];
 
-    // New performance panel can be used in NIGHTLY or DEV_EDITION. We keep the
-    // setting hidden in RELEASE or BETA. Should be removed in Bug 1693316.
-    const isNewPerfAllowed =
-      AppConstants.NIGHTLY_BUILD || AppConstants.MOZ_DEV_EDITION;
-    if (isNewPerfAllowed) {
-      prefDefinitions.push({
-        pref: "devtools.performance.new-panel-enabled",
-        label: L10N.getStr("options.enableNewPerformancePanel"),
-        id: "devtools-new-performance",
-        parentId: "context-options",
-      });
-    }
+    prefDefinitions.push({
+      pref: "devtools.performance.new-panel-enabled",
+      label: L10N.getStr("options.enableNewPerformancePanel"),
+      id: "devtools-new-performance",
+      parentId: "context-options",
+    });
 
     if (GetPref("devtools.custom-formatters")) {
       prefDefinitions.push({

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits