Bug 461286 - Add testcase for small audio files ending correctly
authorChris Double <chris.double@double.co.nz>
Tue, 04 Aug 2009 17:20:37 +1200
changeset 31108 d70d123a365fe3e5ed5c3c29742de32963d2c280
parent 31107 e2309741326ea2de84d5d7b279d26fed939fbabd
child 31109 69611916dcbf90bde65448eea36ee6d662210123
push id8374
push usercdouble@mozilla.com
push dateTue, 04 Aug 2009 05:28:15 +0000
treeherdermozilla-central@d70d123a365f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs461286
milestone1.9.2a1pre
Bug 461286 - Add testcase for small audio files ending correctly
content/media/test/manifest.js
--- a/content/media/test/manifest.js
+++ b/content/media/test/manifest.js
@@ -21,16 +21,19 @@ var gPlayTests = [
   // file has trailing non-PCM data
   { name:"r11025_s16_c1_trailing.wav", type:"audio/x-wav", duration:1.0 },
   // file with list chunk
   { name:"r16000_u8_c1_list.wav", type:"audio/x-wav", duration:4.2 },
   // Ogg stream with eof marker
   { name:"bug461281.ogg", type:"application/ogg" },
   // oggz-chop stream
   { name:"bug482461.ogv", type:"video/ogg", duration:4.24 },
+  // Small audio file
+  { name:"small-shot.ogg", type:"video/ogg" },
+
   { name:"bogus.duh", type:"bogus/duh" }
 ];
 
 // These are files that should refuse to play and report an error,
 // without crashing of course.
 // Put files of the same type together in this list so if something crashes
 // we have some idea of which backend is responsible.
 var gErrorTests = [