diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-12-13 17:47:44 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-24 10:30:41 +0100 |
commit | c88c161875beca091fe183a3b04480422b3d3885 (patch) | |
tree | a65fa8c0a8dddab16d65739b382a7632b73e813d /browser/app/profile | |
parent | 46ad1199deeaf6ba2db31fb3398d3eaa9abdbb2e (diff) | |
download | UXP-c88c161875beca091fe183a3b04480422b3d3885.tar UXP-c88c161875beca091fe183a3b04480422b3d3885.tar.gz UXP-c88c161875beca091fe183a3b04480422b3d3885.tar.lz UXP-c88c161875beca091fe183a3b04480422b3d3885.tar.xz UXP-c88c161875beca091fe183a3b04480422b3d3885.zip |
Remove unnecessary front-end features and pres when not building EME.
Tag #26.
Diffstat (limited to 'browser/app/profile')
-rw-r--r-- | browser/app/profile/firefox.js | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index b46d944e8..94615ded0 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1330,20 +1330,21 @@ pref("identity.fxaccounts.migrateToDevEdition", false); pref("ui.key.menuAccessKeyFocuses", true); #endif +#ifdef MOZ_EME // Encrypted media extensions. -#ifdef XP_LINUX -// On Linux EME is visible but disabled by default. This is so that the -// "Play DRM content" checkbox in the Firefox UI is unchecked by default. +// EME is visible but disabled by default. This is so that the +// "Play DRM content" checkbox in the browser UI is unchecked by default. // DRM requires downloading and installing proprietary binaries, which -// users on an open source operating systems didn't opt into. The first -// time a site using EME is encountered, the user will be prompted to -// enable DRM, whereupon the EME plugin binaries will be downloaded if -// permission is granted. +// users didn't necessarily opt-in to by installing the browser. +// The first time a site using EME is encountered, the user will be +// prompted to enable DRM, whereupon the EME plugin binaries will be +// downloaded if permission is granted. pref("media.eme.enabled", false); +pref("media.eme.apiVisible", true); #else -pref("media.eme.enabled", true); +// Disable redundant interfaces +pref("media.eme.apiVisible", false); #endif -pref("media.eme.apiVisible", true); // Decode using Gecko Media Plugins in <video>, if a system decoder is not // availble and the preferred GMP is available. |