зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1449625 - Part 2: Turn on new animation inspector for beta tests. r=gl
This commit is contained in:
Родитель
d7f7c75314
Коммит
b4fc01f3cb
|
@ -15,10 +15,14 @@ const TAB_NAME = "newanimationinspector";
|
|||
const ANIMATION_L10N =
|
||||
new LocalizationHelper("devtools/client/locales/animationinspector.properties");
|
||||
|
||||
// Enable new animation inspector.
|
||||
Services.prefs.setBoolPref("devtools.new-animationinspector.enabled", true);
|
||||
|
||||
// Auto clean-up when a test ends.
|
||||
// Clean-up all prefs that might have been changed during a test run
|
||||
// (safer here because if the test fails, then the pref is never reverted)
|
||||
registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("devtools.new-animationinspector.enabled");
|
||||
Services.prefs.clearUserPref("devtools.toolsidebar-width.inspector");
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче