summaryrefslogtreecommitdiffstats
path: root/browser/base/content/browser-context.inc
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-08 19:49:12 -0400
committerGitHub <noreply@github.com>2018-04-08 19:49:12 -0400
commit20f5317e2708c4f3c0ca568fcdf8ef57a3758dd5 (patch)
treeeb60acd41760c770b9e274da02f9f72316851b32 /browser/base/content/browser-context.inc
parent7156604f1c5866a7f0929a9bd0b3f8f1fc9b5eb9 (diff)
parent53808c657809049262b79a14d78e793e95076306 (diff)
downloadUXP-20f5317e2708c4f3c0ca568fcdf8ef57a3758dd5.tar
UXP-20f5317e2708c4f3c0ca568fcdf8ef57a3758dd5.tar.gz
UXP-20f5317e2708c4f3c0ca568fcdf8ef57a3758dd5.tar.lz
UXP-20f5317e2708c4f3c0ca568fcdf8ef57a3758dd5.tar.xz
UXP-20f5317e2708c4f3c0ca568fcdf8ef57a3758dd5.zip
Merge pull request #108 from janekptacijarabaci/devtools_browser_cleanUp_followUp_3
[DevTools] Use preprocessing for: a global variable "gDevTools" and the context menu - a function "Inspect Element"
Diffstat (limited to 'browser/base/content/browser-context.inc')
-rw-r--r--browser/base/content/browser-context.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/browser/base/content/browser-context.inc b/browser/base/content/browser-context.inc
index 51b14d152..3061cccdd 100644
--- a/browser/base/content/browser-context.inc
+++ b/browser/base/content/browser-context.inc
@@ -456,12 +456,14 @@
oncommand="gContextMenu.openPasswordManager();"/>
</menupopup>
</menu>
+#ifdef MOZ_DEVTOOLS
<menuseparator id="inspect-separator" hidden="true"/>
<menuitem id="context-inspect"
hidden="true"
label="&inspectContextMenu.label;"
accesskey="&inspectContextMenu.accesskey;"
oncommand="gContextMenu.inspectNode();"/>
+#endif
<menuseparator id="context-media-eme-separator" hidden="true"/>
<menuitem id="context-media-eme-learnmore"
class="menuitem-iconic"