rem: os.notifyObservers(cancelQuit, "quit-application-requested", null); 
add: os.notifyObservers(cancelQuit, "quit-application-requested", "restart"); 
context: function restartApp() {  // Notify all windows that an application quit has been requested.  var os = Components.classes["@mozilla.org/observer-service;1"]                     .getService(Components.interfaces.nsIObserverService);  var cancelQuit = Components.classes["@mozilla.org/supports-PRBool;1"]                             .createInstance(Components.interfaces.nsISupportsPRBool);  os.notifyObservers(cancelQuit, "quit-application-requested", null);  // Something aborted the quit process.   if (cancelQuit.data)    return;  // Notify all windows that an application quit has been granted.  os.notifyObservers(null, "quit-application-granted", null);  Components.classes["@mozilla.org/toolkit/app-startup;1"].getService(nsIAppStartup)            .quit(nsIAppStartup.eRestart | nsIAppStartup.eAttemptQuit);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/8b9b6f83fa30e240938575cc708eb37f30caca26/extensions.js/buggy/toolkit/mozapps/extensions/content/extensions.js