mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 910243 - Disable font inspector on remote targets. r=paul
--HG-- extra : rebase_source : e923c9b112a7e64cc58796114a24ea8382b92ca1
This commit is contained in:
parent
918914bad0
commit
e2ed838a56
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user