os.notifyObservers(cancelQuit, "quit-application-requested", null); 
os.notifyObservers(cancelQuit, "quit-application-requested", "restart"); 
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);}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/8b9b6f83fa30e240938575cc708eb37f30caca26/extensions.js/clean/toolkit/mozapps/extensions/content/extensions.js