mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 853996 - Make sure that opening a new window in permanent private browsing mode never shows about:privatebrowsing; r=jdm
This commit is contained in:
parent
f1b4794c0d
commit
d61371bff4
@ -3641,8 +3641,10 @@ function OpenBrowserWindow(options)
|
||||
var extraFeatures = "";
|
||||
if (options && options.private) {
|
||||
extraFeatures = ",private";
|
||||
// Force the new window to load about:privatebrowsing instead of the default home page
|
||||
defaultArgs = "about:privatebrowsing";
|
||||
if (!PrivateBrowsingUtils.permanentPrivateBrowsing) {
|
||||
// Force the new window to load about:privatebrowsing instead of the default home page
|
||||
defaultArgs = "about:privatebrowsing";
|
||||
}
|
||||
} else {
|
||||
extraFeatures = ",non-private";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user