mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
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:
parent
fa506464a4
commit
e25fb1a515
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user