Bug 910243 - Disable font inspector on remote targets. r=paul

--HG--
extra : rebase_source : e923c9b112a7e64cc58796114a24ea8382b92ca1
This commit is contained in:
Dave Camp 2013-08-12 07:43:19 -07:00
parent 918914bad0
commit e2ed838a56

View File

@ -268,7 +268,7 @@ InspectorPanel.prototype = {
"chrome://browser/content/devtools/computedview.xhtml",
"computedview" == defaultTab);
if (Services.prefs.getBoolPref("devtools.fontinspector.enabled")) {
if (Services.prefs.getBoolPref("devtools.fontinspector.enabled") && !this.target.isRemote) {
this.sidebar.addTab("fontinspector",
"chrome://browser/content/devtools/fontinspector/font-inspector.xhtml",
"fontinspector" == defaultTab);