| Index: LayoutTests/webaudio/dom-exceptions-expected.txt
|
| diff --git a/LayoutTests/webaudio/dom-exceptions-expected.txt b/LayoutTests/webaudio/dom-exceptions-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..03cd63568c044a3ccb02fdb7dc9cf021991595c4
|
| --- /dev/null
|
| +++ b/LayoutTests/webaudio/dom-exceptions-expected.txt
|
| @@ -0,0 +1,38 @@
|
| +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 SyntaxError: Failed to construct 'AudioBuffer': invalid number of channels, frames, or sample rate..
|
| +PASS context.createBuffer(1, 1, 1) threw exception SyntaxError: Failed to construct 'AudioBuffer': invalid number of channels, frames, or sample rate..
|
| +PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxError: Failed to construct 'AudioBuffer': 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 construct 'MediaElementAudioSourceNode': invalid HTMLMedialElement..
|
| +PASS context.createMediaElementAudioSource(null) threw exception TypeError: Object #<AudioContext> has no method 'createMediaElementAudioSource'.
|
| +PASS context.createScriptProcessor(1, 1, 1) threw exception SyntaxError: Failed to construct 'ScriptProcessorNode': invalid buffer size, or number of input/outputs..
|
| +PASS context.createScriptProcessor(4096, 100, 100) threw exception SyntaxError: Failed to construct 'ScriptProcessorNode': invalid buffer size, or number of input/outputs..
|
| +PASS context.createChannelSplitter(0) threw exception SyntaxError: Failed to construct 'ChannelSplitterNode': invalid number of outputs..
|
| +PASS context.createChannelSplitter(99) threw exception SyntaxError: Failed to construct 'ChannelSplitterNode': invalid number of outputs..
|
| +PASS context.createChannelMerger(0) threw exception SyntaxError: Failed to construct 'ChannelMergerNode': invalid number of inputs..
|
| +PASS context.createChannelMerger(99) threw exception SyntaxError: Failed to construct 'ChannelMergerNode': invalid number of inputs..
|
| +PASS context.createPeriodicWave(null, null) threw exception SyntaxError: Failed to construct 'WaveTable': invalid real or imag arrays for wave table..
|
| +PASS context.createPeriodicWave(new ArrayBuffer(10), new ArrayBuffer(7)) threw exception SyntaxError: Failed to construct 'WaveTable': invalid real or imag arrays for wave table..
|
| +PASS node.fftSize = 42 threw exception NotSupportedError: Failed to set the 'fftSize' property on 'AnalyserNode': FFT size is out of range or not a power of two..
|
| +PASS node.getChannelData(2) threw exception SyntaxError: Failed to read the 'getChannelData' property from 'AudioBuffer': invalid channel index..
|
| +PASS node.connect(null, 0, 0) threw exception SyntaxError: Failed to execute 'connect' on 'AudioNode': invalid destination node..
|
| +PASS node.connect(context.destination, 100, 0) threw exception IndexSizeError: Failed to execute 'connect' on 'AudioNode': invalid output index..
|
| +PASS node.connect(context.destination, 0, 100) threw exception IndexSizeError: Failed to execute 'connect' on 'AudioNode': invalid input index..
|
| +PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to execute 'connect' on 'AudioNode': invalid output index..
|
| +PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disconnect' on 'AudioNode': invalid output index..
|
| +PASS node.connect(otherContext.destination) threw exception SyntaxError: Failed to execute 'connect' on 'AudioNode': invalid destination context..
|
| +PASS node.channelCount = 99 threw exception InvalidStateError: Failed to set the 'channelCount' property on 'AudioNode': invalid number of channels..
|
| +PASS node.channelCountMode = mode threw exception InvalidStateError: Failed to set the 'channelCountMode' property on 'AudioNode': must be "max", "clamped-max", or "explicit"..
|
| +PASS node.channelInterpretation = mode threw exception InvalidStateError: Failed to set the 'channelInterpretation' property on 'AudioNode': must be "speakers" or "discrete"..
|
| +PASS context.destination.channelCount = 99 threw exception InvalidStateError: Failed to set the 'channelCount' property on 'AudioDestinationNode': invalid channel count..
|
| +PASS context.createDelay(-1) threw exception NotSupportedError: Failed to construct 'DelayNode': invalid max delay time..
|
| +PASS context.createDelay(1000000) threw exception NotSupportedError: Failed to construct 'DelayNode': invalid max delay time..
|
| +PASS new webkitOfflineAudioContext(99, 100, context.sampleRate) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': invalid number of channels or sample rate.
|
| +PASS new webkitOfflineAudioContext(1, 100, 1) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': invalid number of channels or sample rate.
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|