mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 07:24:47 +00: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
7f2f0d4c88
commit
a8e23ec7ba
@ -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…
x
Reference in New Issue
Block a user