Bug 432598: don't show the EULA in debug builds, patch by Manish Singh <manish@flock.com>, r=me, a=mconnor
authorgavin@gavinsharp.com
Thu, 08 May 2008 08:24:23 -0700
changeset 15060 3ff3553d9f5cef9597249303f53a4a82a02c77a3
parent 15059 3037978e2166d423300cf8b02f28049ad10dfabe
child 15061 c845151d19fee430b55603cf1ec29a5d9f8583cf
push idunknown
push userunknown
push dateunknown
reviewersme, mconnor
bugs432598
milestone1.9pre
Bug 432598: don't show the EULA in debug builds, patch by Manish Singh <manish@flock.com>, r=me, a=mconnor
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -654,16 +654,20 @@ pref("browser.EULA.3.accepted", true);
 pref("browser.EULA.3.accepted", true);
 #else
 pref("browser.EULA.3.accepted", false);
 #endif
 
 // if we rev the EULA again, we should bump this so users agree to the new EULA
 pref("browser.EULA.version", 3);
 
+#ifdef DEBUG
+pref("browser.EULA.override", true);
+#endif
+
 pref("browser.sessionstore.enabled", true);
 pref("browser.sessionstore.resume_from_crash", true);
 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)