mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 04:05:32 +00:00
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:
parent
8cfab133f0
commit
5e0463708c
@ -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" &&
|
||||
|
@ -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);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user