diff options
author | adeshkp <adeshkp@users.noreply.github.com> | 2019-11-09 23:27:21 +0530 |
---|---|---|
committer | adeshkp <adeshkp@users.noreply.github.com> | 2019-11-10 06:03:50 -0500 |
commit | 400f0e2df8dd8ac09c5d97205aecdc3310a5c893 (patch) | |
tree | 92e96d08ed8e29a527126d4983c4753dfabf8827 /application/basilisk/base | |
parent | 484200b01b146e09ae24114fbd88bae64d099759 (diff) | |
download | UXP-400f0e2df8dd8ac09c5d97205aecdc3310a5c893.tar UXP-400f0e2df8dd8ac09c5d97205aecdc3310a5c893.tar.gz UXP-400f0e2df8dd8ac09c5d97205aecdc3310a5c893.tar.lz UXP-400f0e2df8dd8ac09c5d97205aecdc3310a5c893.tar.xz UXP-400f0e2df8dd8ac09c5d97205aecdc3310a5c893.zip |
Issue #1259 - Part 6. Remobe Adobe EME from Basilisk frontend
Diffstat (limited to 'application/basilisk/base')
-rw-r--r-- | application/basilisk/base/content/browser-media.js | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/application/basilisk/base/content/browser-media.js b/application/basilisk/base/content/browser-media.js index bd5c5b227..775fc4de5 100644 --- a/application/basilisk/base/content/browser-media.js +++ b/application/basilisk/base/content/browser-media.js @@ -19,11 +19,7 @@ var gEMEHandler = { ensureEMEEnabled: function(browser, keySystem) { Services.prefs.setBoolPref("media.eme.enabled", true); if (keySystem) { - if (keySystem.startsWith("com.adobe") && - Services.prefs.getPrefType("media.gmp-eme-adobe.enabled") && - !Services.prefs.getBoolPref("media.gmp-eme-adobe.enabled")) { - Services.prefs.setBoolPref("media.gmp-eme-adobe.enabled", true); - } else if (keySystem == "com.widevine.alpha" && + if (keySystem == "com.widevine.alpha" && Services.prefs.getPrefType("media.gmp-widevinecdm.enabled") && !Services.prefs.getBoolPref("media.gmp-widevinecdm.enabled")) { Services.prefs.setBoolPref("media.gmp-widevinecdm.enabled", true); @@ -35,10 +31,6 @@ var gEMEHandler = { if (!keySystem) { return false; } - if (keySystem.startsWith("com.adobe") && - Services.prefs.getPrefType("media.gmp-eme-adobe.visible")) { - return Services.prefs.getBoolPref("media.gmp-eme-adobe.visible"); - } if (keySystem == "com.widevine.alpha" && Services.prefs.getPrefType("media.gmp-widevinecdm.visible")) { return Services.prefs.getBoolPref("media.gmp-widevinecdm.visible"); @@ -201,14 +193,6 @@ const TELEMETRY_DDSTAT_SOLVED = 4; let gDecoderDoctorHandler = { getLabelForNotificationBox(type) { - if (type == "adobe-cdm-not-found" && - AppConstants.platform == "win") { - return gNavigatorBundle.getString("decoder.noCodecs.message"); - } - if (type == "adobe-cdm-not-activated" && - AppConstants.platform == "win") { - return gNavigatorBundle.getString("decoder.noCodecs.message"); - } if (type == "platform-decoder-not-found") { if (AppConstants.platform == "win") { return gNavigatorBundle.getString("decoder.noHWAcceleration.message"); |