On Linux, when Ctrl-W is pressed to close a child window (e.g. popup opened by the main window), the shutdown function is called. This should only be called when the main window is called. The same problem probably occurs on other platform (e.g. Cmd-W on Mac to close a child window).
Created attachment 475857 [details] [diff] [review] Check whether main window before calling handleWindowClose
Sending chrome/content/webrunner.js Transmitting file data . Committed revision 75206.