Bug 522625 - disable session restore after crash on Windows CE. r=vladimir
authorJustin Dolske <dolske@mozilla.com>
Fri, 30 Oct 2009 16:13:41 -0700
changeset 34425 8763e9cd419cc45921a98c000b18955805767095
parent 34424 4c9a699ca7cb18366eab49ed6425a8807676d2f6
child 34426 a0786cae6a09d804bb57044cd2527ef8b2f3097f
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvladimir
bugs522625
milestone1.9.3a1pre
Bug 522625 - disable session restore after crash on Windows CE. r=vladimir
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -748,17 +748,21 @@ pref("browser.EULA.version", 3);
 pref("browser.rights.version", 3);
 pref("browser.rights.3.shown", false);
 
 #ifdef DEBUG
 // Don't show the about:rights notification in debug builds.
 pref("browser.rights.override", true);
 #endif
 
+#ifdef WINCE
+pref("browser.sessionstore.resume_from_crash", false);
+#else
 pref("browser.sessionstore.resume_from_crash", true);
+#endif
 pref("browser.sessionstore.resume_session_once", false);
 
 // minimal interval between two save operations in milliseconds
 pref("browser.sessionstore.interval", 10000);
 // maximum amount of POSTDATA to be saved in bytes per history entry (-1 = all of it)
 // (NB: POSTDATA will be saved either entirely or not at all)
 pref("browser.sessionstore.postdata", 0);
 // on which sites to save text data, POSTDATA and cookies