зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 109ea9e3f1c0 (bug 1489124) for causing mochitest failures on browser_startup_images.js CLOSED TREE
This commit is contained in:
Родитель
93300ee850
Коммит
98277bd23e
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче