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

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

Issue 2332043002: Fix incorrect error message for ScriptProcessorNode (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp » ('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 'BaseAudioContext': The number of ch annels 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 'BaseAudioContext': The number of cha nnels 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 'BaseAudioContext': The sample rate provided (1) is ou tside 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 'BaseAudioContext': The sample rate provided (1.0000 0e+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 'BaseAudioContext': The number of fra mes 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 'BaseAudioContext': 3 arguments required, b ut only 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 'BaseAudioContext': parameter 1 is not of type '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 'BaseAudioContext': parameter 1 is not of t ype '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 'BaseAudioContext': buffer size (1) mus t 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 'BaseAudioContext': number of inpu t channels (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 'BaseAudioContext': number of outp ut channels (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 (100) 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 'BaseAudioContext': The number of outputs pro vided (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 'BaseAudioContext': The number of outputs pr ovided (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 'BaseAudioContext': 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 'BaseAudioContext': The number of inputs provide d (99) 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 'BaseAudioContext': parameter 1 is not of type 'Float32Array'.. 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 'BaseAudioContext': 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.
(...skipping 148 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/ScriptProcessorNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698