| Index: LayoutTests/webaudio/dom-exceptions-expected.txt
|
| diff --git a/LayoutTests/webaudio/dom-exceptions-expected.txt b/LayoutTests/webaudio/dom-exceptions-expected.txt
|
| index 687c3006a0a52671f14a13596edc183817a82365..90f070d727bfe2fd9da43bf795901c619537bbe4 100644
|
| --- a/LayoutTests/webaudio/dom-exceptions-expected.txt
|
| +++ b/LayoutTests/webaudio/dom-exceptions-expected.txt
|
| @@ -2,27 +2,27 @@ Tests DOM exception messages
|
|
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
| -PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': Failed to construct 'AudioBuffer': requested number of channels (99) exceeds maximum (32).
|
| -PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': Failed to construct 'AudioBuffer': requested sample rate (1) does not lie in the allowed range of 22050-96000 Hz.
|
| -PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': Failed to construct 'AudioBuffer': requested sample rate (1.00000e+6) does not lie in the allowed range of 22050-96000 Hz.
|
| -PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': Failed to construct 'AudioBuffer': number of frames must be greater than 0..
|
| -PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxError: Failed to execute 'createBuffer' on 'AudioContext': Failed to construct 'AudioBuffer': invalid audio data in ArrayBuffer..
|
| +PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested number of channels (99) exceeds maximum (32).
|
| +PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested sample rate (1) does not lie in the allowed range of 22050-96000 Hz.
|
| +PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested sample rate (1.00000e+6) does not lie in the allowed range of 22050-96000 Hz.
|
| +PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': number of frames must be greater than 0..
|
| +PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxError: Failed to execute 'createBuffer' on 'AudioContext': invalid audio data in ArrayBuffer..
|
| PASS context.decodeAudioData(null, function() {}, function () {}) threw exception SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid ArrayBuffer for audioData..
|
| -PASS context.createMediaElementSource(null) threw exception InvalidStateError: Failed to execute 'createMediaElementSource' on 'AudioContext': Failed to construct 'MediaElementAudioSourceNode': invalid HTMLMedialElement..
|
| -PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Failed to execute 'createMediaStreamSource' on 'AudioContext': Failed to construct 'MediaStreamAudioSourceNode': invalid MediaStream source.
|
| -PASS context.createScriptProcessor(1, 1, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': Failed to construct 'ScriptProcessorNode': buffer size (1) must be a power of two between 256 and 16384..
|
| -PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': Failed to construct 'ScriptProcessorNode': number of input channels (100) exceeds maximum (32)..
|
| -PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': Failed to construct 'ScriptProcessorNode': number of output channels (1) exceeds maximum (32)..
|
| +PASS context.createMediaElementSource(null) threw exception InvalidStateError: Failed to execute 'createMediaElementSource' on 'AudioContext': invalid HTMLMedialElement..
|
| +PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Failed to execute 'createMediaStreamSource' on 'AudioContext': invalid MediaStream source.
|
| +PASS context.createScriptProcessor(1, 1, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': buffer size (1) must be a power of two between 256 and 16384..
|
| +PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of input channels (100) exceeds maximum (32)..
|
| +PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of output channels (1) exceeds maximum (32)..
|
| PASS context.createScriptProcessor() did not throw exception.
|
| PASS context.createScriptProcessor(0) did not throw exception.
|
| -PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': Failed to construct 'ChannelSplitterNode': number of outputs (0) must be between 1 and 32..
|
| -PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': Failed to construct 'ChannelSplitterNode': number of outputs (99) must be between 1 and 32..
|
| -PASS context.createChannelMerger(0) threw exception IndexSizeError: Failed to execute 'createChannelMerger' on 'AudioContext': Failed to construct 'ChannelMergerNode': number of inputs (0) must be between 1 and 32..
|
| -PASS context.createChannelMerger(99) threw exception IndexSizeError: Failed to execute 'createChannelMerger' on 'AudioContext': Failed to construct 'ChannelMergerNode': number of inputs (99) must be between 1 and 32..
|
| -PASS context.createPeriodicWave(null, null) threw exception SyntaxError: Failed to execute 'createPeriodicWave' on 'AudioContext': Failed to construct 'PeriodicWave': invalid real array.
|
| -PASS context.createPeriodicWave(new Float32Array(10), null) threw exception SyntaxError: Failed to execute 'createPeriodicWave' on 'AudioContext': Failed to construct 'PeriodicWave': invalid imaginary array.
|
| -PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'AudioContext': Failed to construct 'PeriodicWave': length of real array (4100) exceeds allowed maximum of 4096.
|
| -PASS context.createPeriodicWave(new Float32Array(10), new Float32Array(7)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'AudioContext': Failed to construct 'PeriodicWave': length of real array (10) and length of imaginary array (7) must match..
|
| +PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (0) must be between 1 and 32..
|
| +PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (99) must be between 1 and 32..
|
| +PASS context.createChannelMerger(0) threw exception IndexSizeError: Failed to execute 'createChannelMerger' on 'AudioContext': number of inputs (0) must be between 1 and 32..
|
| +PASS context.createChannelMerger(99) threw exception IndexSizeError: Failed to execute 'createChannelMerger' on 'AudioContext': number of inputs (99) must be between 1 and 32..
|
| +PASS context.createPeriodicWave(null, null) threw exception SyntaxError: Failed to execute 'createPeriodicWave' on 'AudioContext': invalid real array.
|
| +PASS context.createPeriodicWave(new Float32Array(10), null) threw exception SyntaxError: Failed to execute 'createPeriodicWave' on 'AudioContext': invalid imaginary array.
|
| +PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'AudioContext': length of real array (4100) exceeds allowed maximum of 4096.
|
| +PASS context.createPeriodicWave(new Float32Array(10), new Float32Array(7)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'AudioContext': length of real array (10) and length of imaginary array (7) must match..
|
| PASS node.fftSize = 42 threw exception IndexSizeError: Failed to set the 'fftSize' property on 'AnalyserNode': Failed to set the 'fftSize' property on 'AnalyserNode': FFT size (42) must be a power of two between 32 and 2048, inclusive.
|
| PASS node.fftSize = 16 threw exception IndexSizeError: Failed to set the 'fftSize' property on 'AnalyserNode': Failed to set the 'fftSize' property on 'AnalyserNode': FFT size (16) must be a power of two between 32 and 2048, inclusive.
|
| PASS node.fftSize = 4096 threw exception IndexSizeError: Failed to set the 'fftSize' property on 'AnalyserNode': Failed to set the 'fftSize' property on 'AnalyserNode': FFT size (4096) must be a power of two between 32 and 2048, inclusive.
|
|
|