summaryrefslogtreecommitdiffstats
path: root/browser/base/content/browser-media.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-19 20:04:11 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-19 20:04:11 +0100
commitda8f20a3b05387aaa1c7c81543f1aae6dd1ca99d (patch)
treec78b4fde0bde40a35c618fdb5de2b6eaa0030df6 /browser/base/content/browser-media.js
parent38ec1c796d64fcf9d73a897685cadbf0ad74fed0 (diff)
downloadUXP-da8f20a3b05387aaa1c7c81543f1aae6dd1ca99d.tar
UXP-da8f20a3b05387aaa1c7c81543f1aae6dd1ca99d.tar.gz
UXP-da8f20a3b05387aaa1c7c81543f1aae6dd1ca99d.tar.lz
UXP-da8f20a3b05387aaa1c7c81543f1aae6dd1ca99d.tar.xz
UXP-da8f20a3b05387aaa1c7c81543f1aae6dd1ca99d.zip
Remove some obsolete front-end code in Basilisk.
Diffstat (limited to 'browser/base/content/browser-media.js')
-rw-r--r--browser/base/content/browser-media.js15
1 files changed, 1 insertions, 14 deletions
diff --git a/browser/base/content/browser-media.js b/browser/base/content/browser-media.js
index 81e7faf17..a013dbd8a 100644
--- a/browser/base/content/browser-media.js
+++ b/browser/base/content/browser-media.js
@@ -201,29 +201,16 @@ let gDecoderDoctorHandler = {
getLabelForNotificationBox(type) {
if (type == "adobe-cdm-not-found" &&
AppConstants.platform == "win") {
- if (AppConstants.isPlatformAndVersionAtMost("win", "5.9")) {
- // We supply our own Learn More button so we don't need to populate the message here.
- return gNavigatorBundle.getFormattedString("emeNotifications.drmContentDisabled.message", [""]);
- }
return gNavigatorBundle.getString("decoder.noCodecs.message");
}
if (type == "adobe-cdm-not-activated" &&
AppConstants.platform == "win") {
- if (AppConstants.isPlatformAndVersionAtMost("win", "5.9")) {
- return gNavigatorBundle.getString("decoder.noCodecsXP.message");
- }
- if (!AppConstants.isPlatformAndVersionAtLeast("win", "6.1")) {
- return gNavigatorBundle.getString("decoder.noCodecsVista.message");
- }
return gNavigatorBundle.getString("decoder.noCodecs.message");
}
if (type == "platform-decoder-not-found") {
- if (AppConstants.isPlatformAndVersionAtLeast("win", "6.1")) {
+ if (AppConstants.platform == "win") {
return gNavigatorBundle.getString("decoder.noHWAcceleration.message");
}
- if (AppConstants.isPlatformAndVersionAtLeast("win", "6")) {
- return gNavigatorBundle.getString("decoder.noHWAccelerationVista.message");
- }
if (AppConstants.platform == "linux") {
return gNavigatorBundle.getString("decoder.noCodecsLinux.message");
}