add: case "quit-application-requested": this._onQuitRequest(subject); break; case "quit-application-granted": if (this._saveSession) { var prefService = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); prefService.setBoolPref("browser.sessionstore.resume_session_once", true); } break; 
context:   observe: function(subject, topic, data)   {    switch(topic) {      case "xpcom-shutdown":        this._dispose();        break;      case "profile-before-change":        this._onProfileChange();        break;      case "profile-change-teardown":         this._onProfileShutdown();        break;      case "final-ui-startup":        this._onProfileStartup();        break;      case "browser:purge-session-history":        // reset the console service's error buffer        const cs = Components.classes["@mozilla.org/consoleservice;1"]                             .getService(Components.interfaces.nsIConsoleService);        cs.logStringMessage(null); // clear the console (in case it's open)        cs.reset();        break;    }  }
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/ffb77c62a280a079285f8dbea4ed919a3809cc87/nsBrowserGlue.js/buggy/browser/components/nsBrowserGlue.js