Bug 854926 - Never request confirmation to close the last private browsing window. r=gavin

This commit is contained in:
Josh Matthews 2013-04-04 10:14:27 -04:00
parent 502238ef9b
commit c66ca5e022

View File

@ -6344,8 +6344,9 @@ function warnAboutClosingWindow() {
return false;
}
if (!isPBWindow && nonPopupPresent)
return gBrowser.warnAboutClosingTabs(true);
if (nonPopupPresent) {
return isPBWindow || gBrowser.warnAboutClosingTabs(true);
}
let os = Services.obs;