mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-20 22:35:39 +00:00
test: Fixed tests for welcome page and fixed QA issues, b=bug #10666, c=common, tabs, tests, welcome, workspaces
This commit is contained in:
@@ -2181,6 +2181,13 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
|
||||
return true; // Always show glance tabs
|
||||
}
|
||||
|
||||
// See https://github.com/zen-browser/desktop/issues/10666, we should never
|
||||
// show closing tabs and consider them as not part of any workspace. This will
|
||||
// invalidate the `lastSelectedTab[previousWorkspaceId]` logic in `_handleTabSelection`
|
||||
if (tab.closing) {
|
||||
return false; // Never show closing tabs
|
||||
}
|
||||
|
||||
// Handle essential tabs
|
||||
if (isEssential) {
|
||||
if (!this.containerSpecificEssentials) {
|
||||
|
||||
Reference in New Issue
Block a user