Bug 1309980 - Only enable Simplify Print on early Betas for Windows, and on Nightly for Linux. r=jaws, a=ritu
authorMike Conley <mconley@mozilla.com>
Thu, 13 Oct 2016 17:41:44 -0400
changeset 350739 32fccc1a23928d8908a164ad8446ef0c487bf48d
parent 350738 1a13f8a2fa91546601a086696bb5513e6e8df121
child 350740 c5487cf50dbc2052912a75ffc33c5b44d36ed6df
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, ritu
bugs1309980
milestone50.0
Bug 1309980 - Only enable Simplify Print on early Betas for Windows, and on Nightly for Linux. r=jaws, a=ritu MozReview-Commit-ID: I7P0dTh5Mjk
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1483,14 +1483,26 @@ pref("browser.migrate.automigrate.ui.ena
 
 // Enable browser frames for use on desktop.  Only exposed to chrome callers.
 pref("dom.mozBrowserFramesEnabled", true);
 
 pref("extensions.pocket.enabled", true);
 
 pref("signon.schemeUpgrades", true);
 
-// Enable the "Simplify Page" feature in Print Preview
-pref("print.use_simplify_page", true);
+// "Simplify Page" feature in Print Preview. This feature is disabled by default
+// in toolkit.
+//
+// This feature is only enabled on Nightly for Linux until bug 1306295 is fixed.
+// For non-Linux, this feature is only enabled up to early Beta.
+#ifdef UNIX_BUT_NOT_MAC
+#if defined(NIGHTLY_BUILD)
+pref("print.user_simplify_page", true);
+#endif
+#else
+#if defined(EARLY_BETA_OR_EARLIER)
+pref("print.user_simplify_page", true);
+#endif
+#endif
 
 // Space separated list of URLS that are allowed to send objects (instead of
 // only strings) through webchannels. This list is duplicated in mobile/android/app/mobile.js
 pref("webchannel.allowObject.urlWhitelist", "https://accounts.firefox.com https://content.cdn.mozilla.net https://input.mozilla.org https://support.mozilla.org https://install.mozilla.org");