Backed out changeset 2996e082682c (bug 1548858) for mda failures at dom/media/test/test_can_play_type_mpeg.html

--HG--
extra : rebase_source : ed7d212e9efdaa3194a1ad35b3826e318ca99c0d
This commit is contained in:
Daniel Varga 2019-05-08 12:02:03 +03:00
parent fa506464a4
commit e25fb1a515

View File

@ -96,12 +96,7 @@ function check_mp4(v, enabled) {
check(codec, "probably");
ok(MediaSource.isTypeSupported(codec), "VP9 in MP4 should be supported in MSE");
});
if (IsAndroid()) {
check("video/mp4; codecs=\"av1\"", "");
} else {
check("video/mp4; codecs=\"av1\"", "probably");
}
check("video/mp4; codecs=\"av1\"", "probably");
}
function check_mp3(v, enabled) {
@ -143,10 +138,6 @@ function getPref(name) {
return pref;
}
function IsAndroid() {
return getAndroidVersion() >= 0;
}
function IsSupportedAndroid() {
return getAndroidVersion() >= 14;
}