Comment 128 for bug 230102

Revision history for this message
In , Parkhideh (parkhideh) wrote :

(In reply to comment #122)

Cheng let me explain how I tested and what I saw (same with 3.0 and 3.1b2).

1- I did not add the parameter browser.tabs.warnOnQuit.
2- browser.warnOnQuit was false after installation, so I set it to true.
3- Two Firefox windows are open with each having two tabs.
4- I saw no difference in the behavior mentioned below by setting
     browser.sessionstore.enabled to true , false or missing.

The only condition that produced a prompt on closing the Firefox window is when
                  browser.tabs.warnOnClose = true
        and browser.warnOnQuit = true
 under other three conditions the window closed without a prompt.

a) Closing the first window will give the familiar message
    "You are about to close 2 tabs. Are you sure you want to continue?"

b) and then closing the last window DOES NOT give the above message but asks
    "Do you want Firefox to save your tabs for the next time it starts?"

I hope this clarifies the test condition.