add: else {  var ssEnabled = true; var prefBranch = Components.classes["@mozilla.org/preferences-service;1"]. getService(Components.interfaces.nsIPrefBranch); try { ssEnabled = prefBranch.getBoolPref("browser.sessionstore.enabled"); } catch (ex) {}  if (ssEnabled) { try { var ss = Components.classes["@mozilla.org/browser/sessionstore;1"]. getService(Components.interfaces.nsISessionStore); ss.init(); } catch(ex) { dump("nsSessionStore could not be initialized: " + ex); } } } 
context:   _onProfileStartup: function()   {    this.Sanitizer.onStartup();    // check if we're in safe mode    var app = Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULAppInfo)                        .QueryInterface(Components.interfaces.nsIXULRuntime);    if (app.inSafeMode) {      var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]                         .getService(Components.interfaces.nsIWindowWatcher);      ww.openWindow(null, "chrome://browser/content/safeMode.xul",                     "_blank", "chrome,centerscreen,modal,resizable=no", null);    }  },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/605be74d73e65abff94ae2631a97798483e98dcc/nsBrowserGlue.js/buggy/browser/components/nsBrowserGlue.js