forked from ZenBrowserMirrors/zen-desktop
fix: Fixed some issues before release, b=(no-bug), c=common, compact-mode, workspaces
This commit is contained in:
parent
8a72d253aa
commit
d800c20905
6 changed files with 74 additions and 43 deletions
|
@ -1,5 +1,5 @@
|
|||
diff --git a/browser/components/tabbrowser/content/tabbrowser.js b/browser/components/tabbrowser/content/tabbrowser.js
|
||||
index 6dece2b9d0462d90a28e75350ce983d87816ef73..a285c5cbc23eaeebc8248b950c0275645f8a5cd3 100644
|
||||
index 6dece2b9d0462d90a28e75350ce983d87816ef73..4cc07f008d99138a76c8e9813c857c352b425006 100644
|
||||
--- a/browser/components/tabbrowser/content/tabbrowser.js
|
||||
+++ b/browser/components/tabbrowser/content/tabbrowser.js
|
||||
@@ -415,11 +415,58 @@
|
||||
|
@ -543,14 +543,14 @@ index 6dece2b9d0462d90a28e75350ce983d87816ef73..a285c5cbc23eaeebc8248b950c027564
|
|||
if (unloadBlocked) {
|
||||
return;
|
||||
}
|
||||
@@ -5247,6 +5409,7 @@
|
||||
aExcludeTabs.push(FirefoxViewHandler.tab);
|
||||
@@ -5248,6 +5410,7 @@
|
||||
}
|
||||
|
||||
+ aExcludeTabs.push(...ZenWorkspaces.getTabsToExclude(aTab));
|
||||
let excludeTabs = new Set(aExcludeTabs);
|
||||
+ ZenWorkspaces.getTabsToExclude(aTab).forEach(tab => excludeTabs.add(tab));
|
||||
|
||||
// If this tab has a successor, it should be selectable, since
|
||||
// hiding or closing a tab removes that tab as a successor.
|
||||
@@ -5260,13 +5423,13 @@
|
||||
!excludeTabs.has(aTab.owner) &&
|
||||
Services.prefs.getBoolPref("browser.tabs.selectOwnerOnClose")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue