Bug 1309980 - Only enable Simplify Print on early Betas for Windows, and on Nightly for Linux. r?jaws draft
authorMike Conley <mconley@mozilla.com>
Thu, 13 Oct 2016 17:41:44 -0400
changeset 426006 da560a6ff85e72e8ddb6743274e2f5b6fbcb2acc
parent 424914 7452437b3ab571b1d60aed4e973d82a1471f72b2
child 534050 deafa0768eee855991ae26dc6b3b126a942b9455
push id32573
push usermconley@mozilla.com
push dateMon, 17 Oct 2016 14:49:41 +0000
reviewersjaws
bugs1309980
milestone52.0a1
Bug 1309980 - Only enable Simplify Print on early Betas for Windows, and on Nightly for Linux. r?jaws MozReview-Commit-ID: I7P0dTh5Mjk
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1514,18 +1514,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.