зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
bf4db7a70d
Коммит
6474edb86b
|
@ -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
|
||||
) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче