Bug 1364296 - enable dom/media/test/test_unseekable.html on Android.
Now the fragent mp4 is seekable, so we should remove "street.mp4" from unseekable test.
MozReview-Commit-ID: 9S18yj7rOjA
--- a/dom/media/test/manifest.js
+++ b/dom/media/test/manifest.js
@@ -598,24 +598,16 @@ if (manifestNavigator().userAgent.indexO
.getService(SpecialPowers.Ci.nsIPropertyBag2)
.getProperty(versionString);
}
function getAndroidVersion() {
return androidVersion;
}
-//Android supports fragmented MP4 playback from 4.3.
-//Fragmented MP4.
-if (getAndroidVersion() >= 18) {
- gUnseekableTests = gUnseekableTests.concat([
- { name:"street.mp4", type:"video/mp4" }
- ]);
-}
-
// These are files suitable for using with a "new Audio" constructor.
var gAudioTests = [
{ name:"r11025_s16_c1.wav", type:"audio/x-wav", duration:1.0 },
{ name:"sound.ogg", type:"audio/ogg" },
{ name:"owl.mp3", type:"audio/mpeg", duration:3.343 },
{ name:"small-shot.m4a", type:"audio/mp4", duration:0.29 },
{ name:"bogus.duh", type:"bogus/duh", duration:123 }
];
--- a/dom/media/test/mochitest.ini
+++ b/dom/media/test/mochitest.ini
@@ -1097,17 +1097,16 @@ skip-if = toolkit == 'android' # bug 129
tags = webvtt
[test_trackelementsrc.html]
skip-if = toolkit == 'android' # android(bug 1232305)
tags = webvtt
[test_trackevent.html]
skip-if = toolkit == 'android' # android(bug 1232305)
tags = webvtt
[test_unseekable.html]
-skip-if = toolkit == 'android' # android(bug 1232305)
[test_video_to_canvas.html]
skip-if = toolkit == 'android' # android(bug 1232305), bugs 1320418,1347953,1347954,1348140,1348386
[test_video_in_audio_element.html]
skip-if = android_version == '15' || android_version == '17' # bug 1320417, 1326326, android(bug 1232323, bug 1232305)
[test_videoDocumentTitle.html]
skip-if = toolkit == 'android' # android(bug 1232305)
[test_VideoPlaybackQuality.html]
skip-if = toolkit == 'android' # android(bug 1232305)