Bug 851530: Part 2 - Added test cases for uLaw and aLaw wave files. r=jya

This commit is contained in:
Louis Christie 2016-02-12 14:45:47 +13:00
parent 54c44bcf54
commit bd8ac92be4
7 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,8 @@ function check_wave(v, enabled) {
// Supported Wave codecs
check("audio/wave; codecs=1", "probably");
check("audio/wave; codecs=6", "probably");
check("audio/wave; codecs=7", "probably");
// "no codecs" should be supported, I guess
check("audio/wave; codecs=", "probably");
check("audio/wave; codecs=\"\"", "probably");

View File

@ -158,6 +158,10 @@ var gPlayTests = [
{ name:"16bit_wave_extrametadata.wav", type:"audio/x-wav", duration:1.108 },
// 24-bit samples
{ name:"wavedata_s24.wav", type:"audio/x-wav", duration:1.0 },
// aLaw compressed wave file
{ name:"wavedata_alaw.wav", type:"audio/x-wav", duration:1.0 },
// uLaw compressed wave file
{ name:"wavedata_ulaw.wav", type:"audio/x-wav", duration:1.0 },
// Ogg stream without eof marker
{ name:"bug461281.ogg", type:"application/ogg", duration:2.208 },

View File

@ -557,12 +557,16 @@ support-files =
wave_metadata_unknown_tag.wav^headers^
wave_metadata_utf8.wav
wave_metadata_utf8.wav^headers^
wavedata_alaw.wav
wavedata_alaw.wav^headers^
wavedata_s24.wav
wavedata_s24.wav^headers^
wavedata_s16.wav
wavedata_s16.wav^headers^
wavedata_u8.wav
wavedata_u8.wav^headers^
wavedata_ulaw.wav
wavedata_ulaw.wav^headers^
[test_access_control.html]
skip-if = buildapp == 'b2g' && toolkit != 'gonk' # bug 1082984

Binary file not shown.

View File

@ -0,0 +1 @@
Cache-Control: no-store

Binary file not shown.

View File

@ -0,0 +1 @@
Cache-Control: no-store