Backed out changeset 77636df030aa (bug 1946432) for causing failures at browser_multiselect_tabs_using_keyboard.js.

This commit is contained in:
Butkovits Atila
2025-02-27 01:29:14 +02:00
parent 54ae391135
commit 59710fad67
2 changed files with 2 additions and 61 deletions

View File

@@ -5017,15 +5017,9 @@
if (newTab) {
this.selectedTab = newTab;
} else {
// all tabs are unloaded - show Firefox View
FirefoxViewHandler.openTab("opentabs");
allTabsUnloaded = true;
// all tabs are unloaded - show Firefox View if it's present, otherwise open a new tab
if (FirefoxViewHandler.tab || FirefoxViewHandler.button) {
FirefoxViewHandler.openTab("opentabs");
} else {
this.selectedTab = this.addTrustedTab(BROWSER_NEW_TAB_URL, {
skipAnimation: true,
});
}
}
}
let memoryUsageBeforeUnload = await getTotalMemoryUsage();