Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt

Issue 1865583002: Implement BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE WARNING: line 1: The provided value 'fancy' is not a valid enum value of type ChannelCountMode. 1 CONSOLE WARNING: line 1: The provided value 'fancy' is not a valid enum value of type ChannelCountMode.
2 CONSOLE WARNING: line 1: The provided value 'undefined' is not a valid enum valu e of type ChannelInterpretation. 2 CONSOLE WARNING: line 1: The provided value 'undefined' is not a valid enum valu e of type ChannelInterpretation.
3 CONSOLE WARNING: line 1: The provided value '9x' is not a valid enum value of ty pe OverSampleType. 3 CONSOLE WARNING: line 1: The provided value '9x' is not a valid enum value of ty pe OverSampleType.
4 CONSOLE WARNING: line 1: The provided value 'junk' is not a valid enum value of type ChannelCountMode. 4 CONSOLE WARNING: line 1: The provided value 'junk' is not a valid enum value of type ChannelCountMode.
5 CONSOLE WARNING: line 1: The provided value 'junk' is not a valid enum value of type ChannelCountMode. 5 CONSOLE WARNING: line 1: The provided value 'junk' is not a valid enum value of type ChannelCountMode.
6 Tests DOM exception messages 6 Tests DOM exception messages
7 7
8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
9 9
10 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte dError: Failed to execute 'createBuffer' on 'AudioContext': The number of channe ls provided (99) is outside the range [1, 32].. 10 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte dError: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of ch annels provided (99) is outside the range [1, 32]..
11 PASS context.createBuffer(0, 1, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': The number of channel s provided (0) is outside the range [1, 32].. 11 PASS context.createBuffer(0, 1, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of cha nnels provided (0) is outside the range [1, 32]..
12 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': The sample rate provided (1) is outsid e the range [3000, 192000].. 12 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (1) is ou tside the range [3000, 192000]..
13 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'AudioContext': The sample rate provided (1.00000e+6 ) is outside the range [3000, 192000].. 13 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (1.0000 0e+6) is outside the range [3000, 192000]..
14 PASS context.createBuffer(1, 1, 3000) did not throw exception. 14 PASS context.createBuffer(1, 1, 3000) did not throw exception.
15 PASS context.createBuffer(1, 1, 192000) did not throw exception. 15 PASS context.createBuffer(1, 1, 192000) did not throw exception.
16 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': The number of frames provided (0) is less than or equal to the minimum bound (0).. 16 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of fra mes provided (0) is less than or equal to the minimum bound (0)..
17 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception TypeError: Failed to execute 'createBuffer' on 'AudioContext': 3 arguments required, but o nly 2 present.. 17 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception TypeError: Failed to execute 'createBuffer' on 'BaseAudioContext': 3 arguments required, b ut only 2 present..
18 PASS context.createMediaElementSource(null) threw exception TypeError: Failed to execute 'createMediaElementSource' on 'AudioContext': parameter 1 is not of typ e 'HTMLMediaElement'.. 18 PASS context.createMediaElementSource(null) threw exception TypeError: Failed to execute 'createMediaElementSource' on 'BaseAudioContext': parameter 1 is not of type 'HTMLMediaElement'..
19 PASS context.createMediaStreamSource(null) threw exception TypeError: Failed to execute 'createMediaStreamSource' on 'AudioContext': parameter 1 is not of type 'MediaStream'.. 19 PASS context.createMediaStreamSource(null) threw exception TypeError: Failed to execute 'createMediaStreamSource' on 'BaseAudioContext': parameter 1 is not of t ype 'MediaStream'..
20 PASS context.createScriptProcessor(1, 1, 1) threw exception IndexSizeError: Fail ed to execute 'createScriptProcessor' on 'AudioContext': buffer size (1) must be 0 or a power of two between 256 and 16384.. 20 PASS context.createScriptProcessor(1, 1, 1) threw exception IndexSizeError: Fail ed to execute 'createScriptProcessor' on 'BaseAudioContext': buffer size (1) mus t be 0 or a power of two between 256 and 16384..
21 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of input ch annels (100) exceeds maximum (32).. 21 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'BaseAudioContext': number of inpu t channels (100) exceeds maximum (32)..
22 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of output c hannels (1) exceeds maximum (32).. 22 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'BaseAudioContext': number of outp ut channels (1) exceeds maximum (32)..
23 PASS context.createScriptProcessor() did not throw exception. 23 PASS context.createScriptProcessor() did not throw exception.
24 PASS context.createScriptProcessor(0) did not throw exception. 24 PASS context.createScriptProcessor(0) did not throw exception.
25 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': The number of outputs provide d (0) is outside the range [1, 32].. 25 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'BaseAudioContext': The number of outputs pro vided (0) is outside the range [1, 32]..
26 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': The number of outputs provid ed (99) is outside the range [1, 32].. 26 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'BaseAudioContext': The number of outputs pr ovided (99) is outside the range [1, 32]..
27 PASS context.createChannelMerger(0) threw exception IndexSizeError: Failed to ex ecute 'createChannelMerger' on 'AudioContext': The number of inputs provided (0) is outside the range [1, 32].. 27 PASS context.createChannelMerger(0) threw exception IndexSizeError: Failed to ex ecute 'createChannelMerger' on 'BaseAudioContext': The number of inputs provided (0) is outside the range [1, 32]..
28 PASS context.createChannelMerger(99) threw exception IndexSizeError: Failed to e xecute 'createChannelMerger' on 'AudioContext': The number of inputs provided (9 9) is outside the range [1, 32].. 28 PASS context.createChannelMerger(99) threw exception IndexSizeError: Failed to e xecute 'createChannelMerger' on 'BaseAudioContext': The number of inputs provide d (99) is outside the range [1, 32]..
29 PASS context.createPeriodicWave(null, null) threw exception TypeError: Failed to execute 'createPeriodicWave' on 'AudioContext': parameter 1 is not of type 'Flo at32Array'.. 29 PASS context.createPeriodicWave(null, null) threw exception TypeError: Failed to execute 'createPeriodicWave' on 'BaseAudioContext': parameter 1 is not of type 'Float32Array'..
30 PASS context.createPeriodicWave(new Float32Array(10), null) threw exception Type Error: Failed to execute 'createPeriodicWave' on 'AudioContext': parameter 2 is not of type 'Float32Array'.. 30 PASS context.createPeriodicWave(new Float32Array(10), null) threw exception Type Error: Failed to execute 'createPeriodicWave' on 'BaseAudioContext': parameter 2 is not of type 'Float32Array'..
31 PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100)) did not throw exception. 31 PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100)) did not throw exception.
32 PASS context.createPeriodicWave(new Float32Array(8192), new Float32Array(8192)) did not throw exception. 32 PASS context.createPeriodicWave(new Float32Array(8192), new Float32Array(8192)) did not throw exception.
33 PASS context.createPeriodicWave(new Float32Array(10000), new Float32Array(10000) ) did not throw exception. 33 PASS context.createPeriodicWave(new Float32Array(10000), new Float32Array(10000) ) did not throw exception.
34 PASS context.createPeriodicWave(new Float32Array(10), new Float32Array(7)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'AudioConte xt': length of real array (10) and length of imaginary array (7) must match.. 34 PASS context.createPeriodicWave(new Float32Array(10), new Float32Array(7)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'BaseAudioC ontext': length of real array (10) and length of imaginary array (7) must match. .
35 PASS node.fftSize = 42 threw exception IndexSizeError: Failed to set the 'fftSiz e' property on 'AnalyserNode': The value provided (42) is not a power of two.. 35 PASS node.fftSize = 42 threw exception IndexSizeError: Failed to set the 'fftSiz e' property on 'AnalyserNode': The value provided (42) is not a power of two..
36 PASS node.fftSize is not 42 36 PASS node.fftSize is not 42
37 PASS node.fftSize = 16 threw exception IndexSizeError: Failed to set the 'fftSiz e' property on 'AnalyserNode': The FFT size provided (16) is outside the range [ 32, 32768].. 37 PASS node.fftSize = 16 threw exception IndexSizeError: Failed to set the 'fftSiz e' property on 'AnalyserNode': The FFT size provided (16) is outside the range [ 32, 32768]..
38 PASS node.fftSize is not 16 38 PASS node.fftSize is not 16
39 PASS node.fftSize = 32768 did not throw exception. 39 PASS node.fftSize = 32768 did not throw exception.
40 PASS node.fftSize = 65536 threw exception IndexSizeError: Failed to set the 'fft Size' property on 'AnalyserNode': The FFT size provided (65536) is outside the r ange [32, 32768].. 40 PASS node.fftSize = 65536 threw exception IndexSizeError: Failed to set the 'fft Size' property on 'AnalyserNode': The FFT size provided (65536) is outside the r ange [32, 32768]..
41 PASS node.fftSize is not 65536 41 PASS node.fftSize is not 65536
42 PASS node.minDecibels = -10 threw exception IndexSizeError: Failed to set the 'm inDecibels' property on 'AnalyserNode': The minDecibels provided (-10) is greate r than the maximum bound (-30).. 42 PASS node.minDecibels = -10 threw exception IndexSizeError: Failed to set the 'm inDecibels' property on 'AnalyserNode': The minDecibels provided (-10) is greate r than the maximum bound (-30)..
43 PASS node.minDecibels is not -10 43 PASS node.minDecibels is not -10
44 PASS node.maxDecibels = -150 threw exception IndexSizeError: Failed to set the ' maxDecibels' property on 'AnalyserNode': The maxDecibels provided (-150) is less than the minimum bound (-100).. 44 PASS node.maxDecibels = -150 threw exception IndexSizeError: Failed to set the ' maxDecibels' property on 'AnalyserNode': The maxDecibels provided (-150) is less than the minimum bound (-100)..
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 PASS script.channelCountMode is not 'clamped-max' 181 PASS script.channelCountMode is not 'clamped-max'
182 PASS script.channelCountMode = 'junk' did not throw exception. 182 PASS script.channelCountMode = 'junk' did not throw exception.
183 PASS osc.noteOn is undefined. 183 PASS osc.noteOn is undefined.
184 PASS osc.noteOff is undefined. 184 PASS osc.noteOff is undefined.
185 PASS source.noteOn is undefined. 185 PASS source.noteOn is undefined.
186 PASS source.noteOff is undefined. 186 PASS source.noteOff is undefined.
187 PASS successfullyParsed is true 187 PASS successfullyParsed is true
188 188
189 TEST COMPLETE 189 TEST COMPLETE
190 190
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698