test: Fixed tests for welcome page and fixed QA issues, b=bug #10666, c=common, tabs, tests, welcome, workspaces

This commit is contained in:
Mr. M
2025-10-15 03:30:12 +02:00
parent c06de3372d
commit b1e860dea2
9 changed files with 60 additions and 21 deletions

View File

@@ -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) {