bug 328159 - backing to see if that fixes orange

This commit is contained in:
mconnor%steelgryphon.com 2006-05-04 18:05:45 +00:00
Родитель 27c2177d28
Коммит 88fcc400ae
4 изменённых файлов: 0 добавлений и 28 удалений

Просмотреть файл

@ -60,7 +60,6 @@ DIRS = \
migration \
preferences \
search \
sessionstore \
shell \
sidebar \
$(NULL)

Просмотреть файл

@ -101,25 +101,6 @@ BrowserGlue.prototype = {
ww.openWindow(null, "chrome://browser/content/safeMode.xul",
"_blank", "chrome,centerscreen,modal,resizable=no", null);
}
else {
// initialize the session-restore service
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);
}
}
}
},
// profile shutdown handler (contains profile cleanup routines)

Просмотреть файл

@ -110,9 +110,6 @@ const DEFAULT_RESUME_SESSION = false;
// resume the current session at startup just this once
const DEFAULT_RESUME_SESSION_ONCE = false;
// resume the current session at startup if it had previously crashed
const DEFAULT_RESUME_FROM_CRASH = false;
// global notifications observed
const OBSERVING = [
"domwindowopened", "domwindowclosed",
@ -1772,10 +1769,6 @@ SessionStoreService.prototype = {
* @returns bool
*/
_doRecoverSession: function sss_doRecoverSession() {
// do not prompt or resume, post-crash
if (!this._getPref("sessionstore.resume_from_crash", DEFAULT_RESUME_FROM_CRASH))
return false;
// if the prompt fails, recover anyway
var recover = true;
// allow extensions to hook in a more elaborate restore prompt

Просмотреть файл

@ -23,7 +23,6 @@
locale/browser/engineManager.dtd (%chrome/browser/engineManager.dtd)
locale/browser/setDesktopBackground.dtd (%chrome/browser/setDesktopBackground.dtd)
locale/browser/shellservice.properties (%chrome/browser/shellservice.properties)
locale/browser/sessionstore.properties (%chrome/browser/sessionstore.properties)
#ifdef MOZ_PLACES
locale/browser/places/places.dtd (%chrome/browser/places/places.dtd)
locale/browser/places/bookmarkProperties.dtd (%chrome/browser/places/bookmarkProperties.dtd)