context:     closeAll: function(aAskToSave)  {            var windowMediator = Components.classes['@mozilla.org/appshell/window-mediator;1'].                                getService(Components.interfaces.nsIWindowMediator);        var enumerator = windowMediator.getEnumerator(null);        while (enumerator.hasMoreElements()) {           var domWindow = enumerator.getNext();           if (aAskToSave && ("tryToClose" in domWindow)) {               if (!domWindow.tryToClose())                   return false;           }           domWindow.close();        };            return true;    }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsCloseAllWindows.js/buggy/xpfe/components/startup/src/nsCloseAllWindows.js