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
parent dae7070b4a
commit acabf2903c
2 changed files with 2 additions and 5 deletions

View File

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

View File

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