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

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

Issue 1952793002: Move the exception logic to the AudioNode creator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'AudioContext': The number of channe ls 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 'AudioContext': The number of channel s 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 'AudioContext': The sample rate provided (1) is outsid e 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 'AudioContext': The sample rate provided (1.00000e+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 'AudioContext': The number of frames 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 'AudioContext': 3 arguments required, but o nly 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 'AudioContext': parameter 1 is not of typ e '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 'AudioContext': parameter 1 is not of type 'MediaStream'..
20 PASS context.createScriptProcessor(1, 1, 1) threw exception IndexSizeError: Fail ed to execute 'createScriptProcessor' on 'AudioContext': buffer size (1) must be a power of two between 256 and 16384.. 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..
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 'AudioContext': number of input ch annels (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 'AudioContext': number of output c hannels (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': number of outputs (0) must be between 1 and 32.. 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]..
26 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (99) must be between 1 and 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]..
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 'AudioContext': 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 'AudioContext': The number of inputs provided (9 9) 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 'AudioContext': parameter 1 is not of type 'Flo at32Array'..
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 'AudioContext': 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 'AudioConte xt': 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
(...skipping 144 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698