зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
fa506464a4
Коммит
e25fb1a515
|
@ -96,12 +96,7 @@ function check_mp4(v, enabled) {
|
||||||
check(codec, "probably");
|
check(codec, "probably");
|
||||||
ok(MediaSource.isTypeSupported(codec), "VP9 in MP4 should be supported in MSE");
|
ok(MediaSource.isTypeSupported(codec), "VP9 in MP4 should be supported in MSE");
|
||||||
});
|
});
|
||||||
|
check("video/mp4; codecs=\"av1\"", "probably");
|
||||||
if (IsAndroid()) {
|
|
||||||
check("video/mp4; codecs=\"av1\"", "");
|
|
||||||
} else {
|
|
||||||
check("video/mp4; codecs=\"av1\"", "probably");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_mp3(v, enabled) {
|
function check_mp3(v, enabled) {
|
||||||
|
@ -143,10 +138,6 @@ function getPref(name) {
|
||||||
return pref;
|
return pref;
|
||||||
}
|
}
|
||||||
|
|
||||||
function IsAndroid() {
|
|
||||||
return getAndroidVersion() >= 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
function IsSupportedAndroid() {
|
function IsSupportedAndroid() {
|
||||||
return getAndroidVersion() >= 14;
|
return getAndroidVersion() >= 14;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче