forked from jsantell/firefox-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1068372-disable-wae-chrome.patch
35 lines (29 loc) · 1.16 KB
/
1068372-disable-wae-chrome.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 889b809133b3d2a02cf46b7eabca5d74e388a80c Mon Sep 17 00:00:00 2001
From: Jordan Santell <[email protected]>
Date: Tue, 16 Sep 2014 16:08:32 -0700
Subject: Bug 1068372 - Disable web audio editor option in browser toolbox. r=vp
---
browser/devtools/main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/browser/devtools/main.js b/browser/devtools/main.js
index 35d67b7..b6d5d06 100644
--- a/browser/devtools/main.js
+++ b/browser/devtools/main.js
@@ -353,17 +353,17 @@ Tools.webAudioEditor = {
icon: "chrome://browser/skin/devtools/tool-webaudio.svg",
invertIconForLightTheme: true,
url: "chrome://browser/content/devtools/webaudioeditor.xul",
label: l10n("ToolboxWebAudioEditor1.label", webAudioEditorStrings),
panelLabel: l10n("ToolboxWebAudioEditor1.panelLabel", webAudioEditorStrings),
tooltip: l10n("ToolboxWebAudioEditor1.tooltip", webAudioEditorStrings),
isTargetSupported: function(target) {
- return !target.isAddon;
+ return !target.isAddon && !target.chrome;
},
build: function(iframeWindow, toolbox) {
return new WebAudioEditorPanel(iframeWindow, toolbox);
}
};
Tools.scratchpad = {
--
1.8.4.2