Bug 1295886 - P15. Enable FLAC mochitest on Android. r=gerald

MozReview-Commit-ID: 83mJleAMVro

--HG--
extra : rebase_source : ba445777b70a1b700eb21eb9809fecea76609598
This commit is contained in:
Jean-Yves Avenard 2017-11-02 02:56:04 +01:00
Родитель dae7070b4a
Коммит acabf2903c
2 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -99,7 +99,6 @@ skip-if = android_version == '22' # bug 1225758
[test_MediaSource_mp4.html] [test_MediaSource_mp4.html]
skip-if = toolkit == 'android' # Not supported on android skip-if = toolkit == 'android' # Not supported on android
[test_MediaSource_flac_mp4.html] [test_MediaSource_flac_mp4.html]
skip-if = toolkit == 'android' # Not supported on android
[test_MediaSource_disabled.html] [test_MediaSource_disabled.html]
[test_MultipleInitSegments.html] [test_MultipleInitSegments.html]
[test_MultipleInitSegments_mp4.html] [test_MultipleInitSegments_mp4.html]

Просмотреть файл

@ -84,10 +84,8 @@ function check_mp4(v, enabled) {
check("audio/mp4; codecs=opus", "probably"); check("audio/mp4; codecs=opus", "probably");
// Flac. // Flac.
// Not available on Android yet. check("audio/mp4; codecs=\"flac\"", "probably");
var expectedResult = IsSupportedAndroid() ? "" : "probably"; check("audio/mp4; codecs=flac", "probably");
check("audio/mp4; codecs=\"flac\"", expectedResult);
check("audio/mp4; codecs=flac", expectedResult);
// VP9. // VP9.
// Note: canPlayType assumes non-fragmented MP4. Once we support VP9 in // Note: canPlayType assumes non-fragmented MP4. Once we support VP9 in