Bug 1295853 - Don't enable Widevine by default on Tier3 platforms as well. r?cpearce
MozReview-Commit-ID: C8lIqBcfeR8
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1350,20 +1350,20 @@ pref("media.gmp-eme-adobe.enabled", true
#ifdef MOZ_WIDEVINE_EME
pref("media.gmp-widevinecdm.visible", true);
// On Linux Widevine is visible but disabled by default. This is because
// enabling Widevine downloads a proprietary binary, which users on an open
// source operating system didn't opt into. The first time a site using EME
// is encountered, the user will be prompted to enable EME, whereupon the
// EME plugin binary will be downloaded if permission is granted.
-#ifdef XP_LINUX
+#if defined(XP_MACOSX) || defined(XP_WIN)
+pref("media.gmp-widevinecdm.enabled", true);
+#else
pref("media.gmp-widevinecdm.enabled", false);
-#else
-pref("media.gmp-widevinecdm.enabled", true);
#endif
#endif
// Play with different values of the decay time and get telemetry,
// 0 means to randomize (and persist) the experiment value in users' profiles,
// -1 means no experiment is run and we use the preferred value for frecency (6h)
pref("browser.cache.frecency_experiment", 0);