rem: ObserverService.notifyObservers(null, "quit-application", null); 
add:   ObserverService.notifyObservers(null, "quit-application-requested", null); 
context: function goQuitApplication(){  var ObserverService = Components.classes["@mozilla.org/observer-service;1"].getService();  ObserverService = ObserverService.QueryInterface(Components.interfaces.nsIObserverService);  if (ObserverService)  {    try    {      ObserverService.notifyObservers(null, "quit-application", null);    }    catch (ex)    {      // dump("no observer found \n");    }  }  var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();  var windowManagerInterface = windowManager.QueryInterface( Components.interfaces.nsIWindowMediator);  var enumerator = windowManagerInterface.getEnumerator( null );  var appShell = Components.classes['@mozilla.org/appshell/appShellService;1'].getService();  appShell = appShell.QueryInterface( Components.interfaces.nsIAppShellService );  var nativeAppSupport = null;  try {    nativeAppSupport = appShell.nativeAppSupport;  }  catch ( ex ) {  }  while ( enumerator.hasMoreElements()  )  {     var domWindow = enumerator.getNext();     if (("tryToClose" in domWindow) && !domWindow.tryToClose())       return false;     domWindow.close();  };  if (!nativeAppSupport || !nativeAppSupport.isServerMode)    appShell.quit(Components.interfaces.nsIAppShellService.eAttemptQuit);  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/16b4006118c41162a8d147cb871dba5772d95bb0/globalOverlay.js/clean/xpfe/global/resources/content/globalOverlay.js