Comment 228 for bug 230102

Revision history for this message
In , Mozilla-l (mozilla-l) wrote :

https://searchfox.org/mozilla-central/rev/ce9ff94ffed34dc17ec0bfa406156d489eaa8ee1/browser/components/nsBrowserGlue.js#1309

> browser.warnOnQuit is a hidden global boolean to override all quit prompts
> browser.showQuitWarning specifically covers quitting
> browser.tabs.warnOnClose is the global "warn when closing multiple tabs" pref

However, this does not apply if
> The session will be restored at startup, indicated by
> browser.startup.page == 3 or browser.sessionstore.resume_session_once == true