Bug 1558630 - Move Netmonitor tab to 4th place to reflect popularity; r=yulia
authorFlorens Verschelde <florens@fvsch.com>
Wed, 26 Jun 2019 14:10:38 +0000
changeset 543005 421f7c4d60c07d68c965a3120b36a7d1d9fa8206
parent 543004 771df5f576da784f259b10bde7dab8bd4ca5f4ce
child 543006 36683eb4d0dbbf080ba219e1d92a0fc65f6b88ed
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyulia
bugs1558630
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1558630 - Move Netmonitor tab to 4th place to reflect popularity; r=yulia Differential Revision: https://phabricator.services.mozilla.com/D35397
devtools/client/definitions.js
--- a/devtools/client/definitions.js
+++ b/devtools/client/definitions.js
@@ -145,17 +145,17 @@ Tools.jsdebugger = {
   },
   build: function(iframeWindow, toolbox) {
     return new DebuggerPanel(iframeWindow, toolbox);
   },
 };
 
 Tools.styleEditor = {
   id: "styleeditor",
-  ordinal: 4,
+  ordinal: 5,
   visibilityswitch: "devtools.styleeditor.enabled",
   accesskey: l10n("open.accesskey"),
   icon: "chrome://devtools/skin/images/tool-styleeditor.svg",
   url: "chrome://devtools/content/styleeditor/index.xul",
   label: l10n("ToolboxStyleEditor.label"),
   panelLabel: l10n("ToolboxStyleEditor.panelLabel"),
   get tooltip() {
     return l10n("ToolboxStyleEditor.tooltip3",
@@ -168,17 +168,17 @@ Tools.styleEditor = {
 
   build: function(iframeWindow, toolbox) {
     return new StyleEditorPanel(iframeWindow, toolbox);
   },
 };
 
 Tools.performance = {
  id: "performance",
- ordinal: 7,
+ ordinal: 6,
  icon: "chrome://devtools/skin/images/tool-profiler.svg",
  visibilityswitch: "devtools.performance.enabled",
  label: l10n("performance.label"),
  panelLabel: l10n("performance.panelLabel"),
  get tooltip() {
    return l10n("performance.tooltip", "Shift+" +
    functionkey(l10n("performance.commandkey")));
  },
@@ -215,17 +215,17 @@ switchPerformancePanel();
 
 Services.prefs.addObserver(
  "devtools.performance.new-panel-enabled",
  { observe: switchPerformancePanel }
 );
 
 Tools.memory = {
   id: "memory",
-  ordinal: 8,
+  ordinal: 7,
   icon: "chrome://devtools/skin/images/tool-memory.svg",
   url: "chrome://devtools/content/memory/index.xhtml",
   visibilityswitch: "devtools.memory.enabled",
   label: l10n("memory.label"),
   panelLabel: l10n("memory.panelLabel"),
   tooltip: l10n("memory.tooltip"),
 
   isTargetSupported: function(target) {
@@ -236,17 +236,17 @@ Tools.memory = {
   build: function(frame, target) {
     return new MemoryPanel(frame, target);
   },
 };
 
 Tools.netMonitor = {
   id: "netmonitor",
   accesskey: l10n("netmonitor.accesskey"),
-  ordinal: 9,
+  ordinal: 4,
   visibilityswitch: "devtools.netmonitor.enabled",
   icon: "chrome://devtools/skin/images/tool-network.svg",
   url: "chrome://devtools/content/netmonitor/index.html",
   label: l10n("netmonitor.label"),
   panelLabel: l10n("netmonitor.panelLabel"),
   get tooltip() {
     return l10n("netmonitor.tooltip2",
     (osString == "Darwin" ? "Cmd+Opt+" : "Ctrl+Shift+") +
@@ -260,17 +260,17 @@ Tools.netMonitor = {
 
   build: function(iframeWindow, toolbox) {
     return new NetMonitorPanel(iframeWindow, toolbox);
   },
 };
 
 Tools.storage = {
   id: "storage",
-  ordinal: 10,
+  ordinal: 8,
   accesskey: l10n("storage.accesskey"),
   visibilityswitch: "devtools.storage.enabled",
   icon: "chrome://devtools/skin/images/tool-storage.svg",
   url: "chrome://devtools/content/storage/index.xul",
   label: l10n("storage.label"),
   menuLabel: l10n("storage.menuLabel"),
   panelLabel: l10n("storage.panelLabel"),
   get tooltip() {
@@ -305,17 +305,17 @@ Tools.scratchpad = {
   build: function(iframeWindow, toolbox) {
     return new ScratchpadPanel(iframeWindow, toolbox);
   },
 };
 
 Tools.dom = {
   id: "dom",
   accesskey: l10n("dom.accesskey"),
-  ordinal: 13,
+  ordinal: 11,
   visibilityswitch: "devtools.dom.enabled",
   icon: "chrome://devtools/skin/images/tool-dom.svg",
   url: "chrome://devtools/content/dom/index.html",
   label: l10n("dom.label"),
   panelLabel: l10n("dom.panelLabel"),
   get tooltip() {
     return l10n("dom.tooltip",
       (osString == "Darwin" ? "Cmd+Opt+" : "Ctrl+Shift+") +
@@ -330,17 +330,17 @@ Tools.dom = {
   build: function(iframeWindow, toolbox) {
     return new DomPanel(iframeWindow, toolbox);
   },
 };
 
 Tools.accessibility = {
   id: "accessibility",
   accesskey: l10n("accessibility.accesskey"),
-  ordinal: 14,
+  ordinal: 9,
   modifiers: osString == "Darwin" ? "accel,alt" : "accel,shift",
   visibilityswitch: "devtools.accessibility.enabled",
   icon: "chrome://devtools/skin/images/tool-accessibility.svg",
   url: "chrome://devtools/content/accessibility/index.html",
   label: l10n("accessibility.label"),
   panelLabel: l10n("accessibility.panelLabel"),
   get tooltip() {
     return l10n("accessibility.tooltip3",
@@ -359,17 +359,17 @@ Tools.accessibility = {
 
   buildToolStartup(toolbox) {
     return new AccessibilityStartup(toolbox);
   },
 };
 
 Tools.application = {
   id: "application",
-  ordinal: 15,
+  ordinal: 10,
   visibilityswitch: "devtools.application.enabled",
   icon: "chrome://devtools/skin/images/tool-application.svg",
   url: "chrome://devtools/content/application/index.html",
   label: l10n("application.label"),
   panelLabel: l10n("application.panellabel"),
   tooltip: l10n("application.tooltip"),
   inMenu: false,
   hiddenInOptions: true,