Bug 1329547 - Remove messages about missing CDM on XP. r=Gijs

MozReview-Commit-ID: nTEgsecM8h

--HG--
extra : rebase_source : 1925cc43dba2b5941e21c32e1906719b2338ef12
This commit is contained in:
Chris Peterson 2017-01-08 00:43:12 -08:00
parent 8cfab133f0
commit 5e0463708c
2 changed files with 1 additions and 11 deletions

View File

@ -203,10 +203,6 @@ 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" &&

View File

@ -52,13 +52,7 @@ add_task(function* test_adobe_cdm_not_found() {
return;
}
let message;
if (AppConstants.isPlatformAndVersionAtMost("win", "5.9")) {
message = gNavigatorBundle.getFormattedString("emeNotifications.drmContentDisabled.message", [""]);
} else {
message = gNavigatorBundle.getString("decoder.noCodecs.message");
}
let message = gNavigatorBundle.getString("decoder.noCodecs.message");
yield test_decoder_doctor_notification("adobe-cdm-not-found", message);
});