mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 817931 - Don't restore the contents of the last closed window into a newly opened window if it's a private window; r=ttaubert
DONTBUILD since this is NPOTB for global PB builds
This commit is contained in:
parent
97b99365ed
commit
7cc52ca87d
@ -724,7 +724,9 @@ let SessionStoreInternal = {
|
||||
}
|
||||
else if (this._restoreLastWindow && aWindow.toolbar.visible &&
|
||||
this._closedWindows.length
|
||||
#ifndef MOZ_PER_WINDOW_PRIVATE_BROWSING
|
||||
#ifdef MOZ_PER_WINDOW_PRIVATE_BROWSING
|
||||
&& !PrivateBrowsingUtils.isWindowPrivate(aWindow)
|
||||
#else
|
||||
&& !this._inPrivateBrowsing
|
||||
#endif
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user