Bug 1263665 - Added test for unsupported-libavcodec - r=gijs

MozReview-Commit-ID: 13CdXLKBwAX

--HG--
extra : rebase_source : 81133a79d3830cf49d9674ebbf17328b605d6642
This commit is contained in:
Gerald Squelart 2016-09-25 15:26:06 -07:00
parent 6eb69c1f9a
commit da14578576

View File

@ -108,3 +108,15 @@ add_task(function* test_cannot_initialize_pulseaudio() {
message,
{sumo: "fix-common-audio-and-video-issues"});
});
add_task(function* test_unsupported_libavcodec() {
// This is only sent on Linux.
if (AppConstants.platform != "linux") {
return;
}
let message = gNavigatorBundle.getString("decoder.unsupportedLibavcodec.message");
yield test_decoder_doctor_notification("unsupported-libavcodec",
message,
{noLearnMoreButton: true});
});