Bug 1477310 - Enable the new certificate error pages by default in Nightly r=johannh
MozReview-Commit-ID: DN7s5t2m2Nm
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -978,18 +978,22 @@ pref("app.feedback.baseURL", "https://in
#endif
// base URL for web-based marketing pages
pref("app.productInfo.baseURL", "https://www.mozilla.org/firefox/features/");
// Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
pref("security.alternate_certificate_error_page", "certerror");
-// Indicates if new certificate error page (enabled) or not
+// Enable the new certificate error page only for Nightly
+#if defined(NIGHTLY_BUILD)
+pref("browser.security.newcerterrorpage.enabled", true);
+#else
pref("browser.security.newcerterrorpage.enabled", false);
+#endif
// Whether to start the private browsing mode at application startup
pref("browser.privatebrowsing.autostart", false);
// Don't try to alter this pref, it'll be reset the next time you use the
// bookmarking dialog
pref("browser.bookmarks.editDialog.firstEditField", "namePicker");