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 356203 906d5b58dd0ef81deb30722898236427c928007b
parent 356202 d8b1f7bfc29e21a017216254c335714ef4c2b45c
child 356204 971ad43a07cc5cde085ab41eb4da83684087495f
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, ritu
bugs1309980
milestone51.0a2
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
@@ -1502,18 +1502,30 @@ 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");
 
 // Whether or not the browser should scan for unsubmitted
 // crash reports, and then show a notification for submitting
 // those reports.