mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 16:51:46 +00:00
Make sure goQuitApplication always returns a value (bug 285588). Patch by gautheri@noos.fr, r+sr=me.
This commit is contained in:
parent
9a2346a58b
commit
582f49deb7
@ -47,8 +47,8 @@ function canQuitApplication()
|
||||
function goQuitApplication()
|
||||
{
|
||||
if (!canQuitApplication())
|
||||
return;
|
||||
|
||||
return false;
|
||||
|
||||
var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();
|
||||
var windowManagerInterface = windowManager.QueryInterface( Components.interfaces.nsIWindowMediator);
|
||||
var enumerator = windowManagerInterface.getEnumerator( null );
|
||||
|
Loading…
x
Reference in New Issue
Block a user