Bug 1477310 - Enable the new certificate error pages by default in Nightly r=johannh draft
authortrisha <tgupta@mozilla.com>
Wed, 01 Aug 2018 15:57:22 +0530
changeset 826196 6c329233528610b4a0f1178d8b577577ba80197f
parent 826195 c5458c91d01167dc8138bf0be3ca65e3d3288d72
push id118263
push userbmo:guptatrisha97@gmail.com
push dateFri, 03 Aug 2018 07:05:17 +0000
reviewersjohannh
bugs1477310
milestone62.0a1
Bug 1477310 - Enable the new certificate error pages by default in Nightly r=johannh MozReview-Commit-ID: DN7s5t2m2Nm
browser/app/profile/firefox.js
--- 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");