summaryrefslogtreecommitdiffstats
path: root/browser/components/BrowserContentHandler.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:16:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:16:28 +0000
commitdeb3a053d8303b69333220d13f4757ea35e3c646 (patch)
tree6b69904dfd159c94849593a0140a3ee4a944be6d /browser/components/BrowserContentHandler.sys.mjs
parentAdding debian version 127.0.1-1. (diff)
downloadfirefox-deb3a053d8303b69333220d13f4757ea35e3c646.tar.xz
firefox-deb3a053d8303b69333220d13f4757ea35e3c646.zip
Merging upstream version 127.0.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/BrowserContentHandler.sys.mjs')
-rw-r--r--browser/components/BrowserContentHandler.sys.mjs8
1 files changed, 7 insertions, 1 deletions
diff --git a/browser/components/BrowserContentHandler.sys.mjs b/browser/components/BrowserContentHandler.sys.mjs
index 6c156d1700..1ac7a09d2d 100644
--- a/browser/components/BrowserContentHandler.sys.mjs
+++ b/browser/components/BrowserContentHandler.sys.mjs
@@ -322,7 +322,13 @@ function openBrowserWindow(
Ci.nsILoadContext
).usePrivateBrowsing = true;
- if (AppConstants.platform == "win") {
+ if (
+ AppConstants.platform == "win" &&
+ Services.prefs.getBoolPref(
+ "browser.privateWindowSeparation.enabled",
+ true
+ )
+ ) {
lazy.WinTaskbar.setGroupIdForWindow(
win,
lazy.WinTaskbar.defaultPrivateGroupId