Backed out changeset 109ea9e3f1c0 (bug 1489124) for causing mochitest failures on browser_startup_images.js CLOSED TREE

This commit is contained in:
Cristian Tuns 2022-01-05 09:43:02 -05:00
Родитель 93300ee850
Коммит 98277bd23e
3 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -131,10 +131,6 @@ var gTabsPanel = {
filterFn: tab => tab.hidden,
});
this.allTabsButton.addEventListener("mousedown", e => {
this.showAllTabsPanel(e);
});
this._initialized = true;
},
@ -144,6 +140,7 @@ var gTabsPanel = {
},
showAllTabsPanel(event) {
this.init();
if (this.canOpen) {
PanelUI.showSubView(
this.kElements.allTabsView,
@ -160,6 +157,7 @@ var gTabsPanel = {
},
showHiddenTabsPanel(event) {
this.init();
if (!this.canOpen) {
return;
}

Просмотреть файл

@ -1906,11 +1906,10 @@ var gBrowserInit = {
// We do this before the session restore service gets initialized so we can
// apply full zoom settings to tabs restored by the session restore service.
FullZoom.init();
PanelUI.init(shouldSuppressPopupNotifications);
UpdateUrlbarSearchSplitterState();
PanelUI.init(shouldSuppressPopupNotifications);
gTabsPanel.init();
BookmarkingUI.init();
BrowserSearch.delayedStartupInit();
gProtectionsHandler.init();

Просмотреть файл

@ -80,6 +80,7 @@
<toolbarbutton id="alltabs-button"
class="toolbarbutton-1 chromeclass-toolbar-additional tabs-alltabs-button"
badged="true"
oncommand="gTabsPanel.showAllTabsPanel(event);"
data-l10n-id="tabs-toolbar-list-all-tabs"
removable="false"/>
</hbox>