зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1482461 - remove "New" bubble from Accessibility panel tab. r=gl
MozReview-Commit-ID: HOB4qlx0xJ5 Differential Revision: https://phabricator.services.mozilla.com/D7289 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
553a814a35
Коммит
931d684ad7
|
@ -4,11 +4,6 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
const Services = require("Services");
|
||||
|
||||
// @remove after release 63 (See Bug 1482461)
|
||||
const PROMOTE_COUNT_PREF = "devtools.promote.accessibility";
|
||||
|
||||
/**
|
||||
* Component responsible for all accessibility panel startup steps before the panel is
|
||||
* actually opened.
|
||||
|
@ -113,11 +108,6 @@ class AccessibilityStartup {
|
|||
}
|
||||
}
|
||||
|
||||
// @remove after release 63 (See Bug 1482461)
|
||||
updatePanelPromoteCount() {
|
||||
Services.prefs.setIntPref(PROMOTE_COUNT_PREF, 0);
|
||||
}
|
||||
|
||||
async destroy() {
|
||||
await this.destroyAccessibility();
|
||||
this.toolbox = null;
|
||||
|
|
|
@ -81,8 +81,6 @@ AccessibilityPanel.prototype = {
|
|||
this.picker = new Picker(this);
|
||||
}
|
||||
|
||||
this.startup.updatePanelPromoteCount();
|
||||
|
||||
this.updateA11YServiceDurationTimer();
|
||||
this.front.on("init", this.updateA11YServiceDurationTimer);
|
||||
this.front.on("shutdown", this.updateA11YServiceDurationTimer);
|
||||
|
|
|
@ -447,15 +447,6 @@ Tools.accessibility = {
|
|||
|
||||
buildToolStartup(toolbox) {
|
||||
return new AccessibilityStartup(toolbox);
|
||||
},
|
||||
|
||||
// @remove after release 63 (See Bug 1482461)
|
||||
get badge() {
|
||||
if (Services.prefs.getIntPref("devtools.promote.accessibility") > 0) {
|
||||
return l10n("toolbox.tab.newBadge");
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -232,9 +232,6 @@ pref("devtools.dom.enabled", false);
|
|||
|
||||
// Enable the Accessibility panel.
|
||||
pref("devtools.accessibility.enabled", true);
|
||||
// Counter to promote the Accessibility panel.
|
||||
// @remove after release 63 (See Bug 1482461)
|
||||
pref("devtools.promote.accessibility", 1);
|
||||
|
||||
// Web Audio Editor Inspector Width should be a preference
|
||||
pref("devtools.webaudioeditor.inspectorWidth", 300);
|
||||
|
|
Загрузка…
Ссылка в новой задаче