pref proposal: general.warnAboutConfig and browser.showQuitWarning

Issue #69 resolved
Popoki Tom
repo owner created an issue

03) general.warnAboutConfig\ 04) browser.showQuitWarning

Captured from [[http://www.babelzilla.org/forum/index.php?showtopic=5951&view=findpost&p=62779|Leopardus Tigrinus's post on the babelzilla forum]].

Comments (4)

  1. Popoki Tom reporter

    http://hg.mozilla.org/mozilla-central/file/f16bcf1fbf73/browser/components/nsBrowserGlue.js#l481

    • if "When Firefox starts:" is set to "Show my windows and tabs from last time" (browser.startup.page == 3) ; or
    • if temporary resume_session is checked; or
    • if "browser.warnOnQuit" is NOT set to true; then
      • DO NOTHING.
    • else
      • if "browser.showQuitWarning" is set to true when NOT restart; or
      • if "browser.warnOnRestart" is set to true when restart; then
        • Show the confirm dialog: "Do you want Firefox to save your tabs for the next time it starts?"

    Note:

    • browser.warnOnQuit, browser.showQuitWarning, and browser.warnOnRestart are only applicable when "When Firefox starts:" is NOT set to "Show my windows and tabs from last time
    • browser.showQuitWarning, and browser.warnOnRestart are only applicable when browser.warnOnQuit is set to true and "When Firefox starts:" is NOT set to "Show my windows and tabs from last time.
  2. Log in to comment