Bug 855900 - Change Profiler shortcut to Shift-F5 in Aurora. r=dcamp, a=gavin FIREFOX_BETA_21_BASE
authorAnton Kovalyov <anton@mozilla.com>
Mon, 01 Apr 2013 10:21:20 -0700
changeset 128743 1f391ee6d07ed92093250c3222d3ad389d0bc064
parent 128742 73965923ad121206d734bb4110309d0027811a38
child 128744 86e4c040303c87603484b4c867589579bf023a02
push idunknown
push userunknown
push dateunknown
reviewersdcamp, gavin
bugs855900
milestone21.0a2
Bug 855900 - Change Profiler shortcut to Shift-F5 in Aurora. r=dcamp, a=gavin
browser/devtools/framework/ToolDefinitions.jsm
--- a/browser/devtools/framework/ToolDefinitions.jsm
+++ b/browser/devtools/framework/ToolDefinitions.jsm
@@ -142,19 +142,19 @@ let styleEditorDefinition = {
     let panel = new StyleEditorPanel(iframeWindow, toolbox);
     return panel.open();
   }
 };
 
 let profilerDefinition = {
   id: "jsprofiler",
   accesskey: l10n("profiler.accesskey", profilerStrings),
-  key: l10n("profiler.commandkey", profilerStrings),
+  key: "VK_F5",
   ordinal: 4,
-  modifiers: osString == "Darwin" ? "accel,alt" : "accel,shift",
+  modifiers: "shift",
   killswitch: "devtools.profiler.enabled",
   url: "chrome://browser/content/profiler.xul",
   label: l10n("profiler.label", profilerStrings),
   icon: "chrome://browser/skin/devtools/tool-profiler.png",
   tooltip: l10n("profiler.tooltip", profilerStrings),
 
   isTargetSupported: function (target) {
     return true;