зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1247723 - Disable the Font Panel; r=pbro
MozReview-Commit-ID: 1x6Fi0SvPpr
This commit is contained in:
Родитель
ef00b09062
Коммит
25c188a973
|
@ -9,6 +9,11 @@ Services.scriptloader.loadSubScript(
|
|||
"chrome://mochitests/content/browser/devtools/client/inspector/test/head.js",
|
||||
this);
|
||||
|
||||
Services.prefs.setBoolPref("devtools.fontinspector.enabled", true);
|
||||
registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("devtools.fontinspector.enabled");
|
||||
});
|
||||
|
||||
/**
|
||||
* Adds a new tab with the given URL, opens the inspector and selects the
|
||||
* font-inspector tab.
|
||||
|
|
|
@ -325,7 +325,7 @@ pref("devtools.editor.enableCodeFolding", true);
|
|||
pref("devtools.editor.autocomplete", true);
|
||||
|
||||
// Enable the Font Inspector
|
||||
pref("devtools.fontinspector.enabled", true);
|
||||
pref("devtools.fontinspector.enabled", false);
|
||||
|
||||
// Pref to store the browser version at the time of a telemetry ping for an
|
||||
// opened developer tool. This allows us to ping telemetry just once per browser
|
||||
|
|
Загрузка…
Ссылка в новой задаче