This was noticed by NeilAway when porting bug 682581 to suite. Steps to reproduce: 1) Open two compose windows, and write into each one 2) In the TB main window, go to File > Quit 3) In the second compose window, in the confirm prompt that comes up, choose "Don't Save" 4) In the first compose window, choose "Cancel" 5) The quit was canceled. Now try closing the second window. What happens? The second window closes without prompting the user. What's expected? The window should prompt the user whether or not they want to save, or not save.
Created attachment 570338 [details] [diff] [review] Patch v1 The patch proposed for suite in bug 698011 fixes this for me. Test case included.
Created attachment 570340 [details] [diff] [review] Patch v2 Whoops - the comment for the test refers to the suite bug, not the TB bug. Fixed that.
Thanks for the review! Committed as: http://hg.mozilla.org/comm-central/rev/7e11d75ffd08