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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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 Tests DOM exception messages 1 Tests DOM exception messages
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte dError: Failed to construct 'AudioBuffer': requested number of channels (99) exc eeds maximum (32). 5 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte dError: Failed to execute 'createBuffer' on 'AudioContext': Failed to construct 'AudioBuffer': requested number of channels (99) exceeds maximum (32).
6 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to construct 'AudioBuffer': requested sample rate (1) does not lie in the allowed r ange of 22050-96000 Hz. 6 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': Failed to construct 'AudioBuffer': req uested sample rate (1) does not lie in the allowed range of 22050-96000 Hz.
7 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o construct 'AudioBuffer': requested sample rate (1.00000e+6) does not lie in th e allowed range of 22050-96000 Hz. 7 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'AudioContext': Failed to construct 'AudioBuffer': r equested sample rate (1.00000e+6) does not lie in the allowed range of 22050-960 00 Hz.
8 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to construct 'AudioBuffer': number of frames must be greater than 0.. 8 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': Failed to construct ' AudioBuffer': number of frames must be greater than 0..
9 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxErro r: Failed to construct 'AudioBuffer': invalid audio data in ArrayBuffer.. 9 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxErro r: Failed to execute 'createBuffer' on 'AudioContext': Failed to construct 'Audi oBuffer': invalid audio data in ArrayBuffer..
10 PASS context.decodeAudioData(null, function() {}, function () {}) threw exceptio n SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid Ar rayBuffer for audioData.. 10 PASS context.decodeAudioData(null, function() {}, function () {}) threw exceptio n SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid Ar rayBuffer for audioData..
11 PASS context.createMediaElementSource(null) threw exception InvalidStateError: F ailed to construct 'MediaElementAudioSourceNode': invalid HTMLMedialElement.. 11 PASS context.createMediaElementSource(null) threw exception InvalidStateError: F ailed to execute 'createMediaElementSource' on 'AudioContext': Failed to constru ct 'MediaElementAudioSourceNode': invalid HTMLMedialElement..
12 PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Fa iled to construct 'MediaStreamAudioSourceNode': invalid MediaStream source. 12 PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Fa iled to execute 'createMediaStreamSource' on 'AudioContext': Failed to construct 'MediaStreamAudioSourceNode': invalid MediaStream source.
13 PASS context.createScriptProcessor(1, 1, 1) threw exception IndexSizeError: Fail ed to construct 'ScriptProcessorNode': buffer size (1) must be a power of two be tween 256 and 16384.. 13 PASS context.createScriptProcessor(1, 1, 1) threw exception IndexSizeError: Fail ed to execute 'createScriptProcessor' on 'AudioContext': Failed to construct 'Sc riptProcessorNode': buffer size (1) must be a power of two between 256 and 16384 ..
14 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to construct 'ScriptProcessorNode': number of input channels (100) excee ds maximum (32).. 14 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': Failed to construc t 'ScriptProcessorNode': number of input channels (100) exceeds maximum (32)..
15 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to construct 'ScriptProcessorNode': number of output channels (1) exceed s maximum (32).. 15 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': Failed to construc t 'ScriptProcessorNode': number of output channels (1) exceeds maximum (32)..
16 PASS context.createScriptProcessor() did not throw exception. 16 PASS context.createScriptProcessor() did not throw exception.
17 PASS context.createScriptProcessor(0) did not throw exception. 17 PASS context.createScriptProcessor(0) did not throw exception.
18 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to construct 'ChannelSplitterNode': number of outputs (0) must be between 1 and 32. . 18 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': Failed to construct 'ChannelS plitterNode': number of outputs (0) must be between 1 and 32..
19 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to construct 'ChannelSplitterNode': number of outputs (99) must be between 1 and 3 2.. 19 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': Failed to construct 'Channel SplitterNode': number of outputs (99) must be between 1 and 32..
20 PASS context.createChannelMerger(0) threw exception IndexSizeError: Failed to co nstruct 'ChannelMergerNode': number of inputs (0) must be between 1 and 32.. 20 PASS context.createChannelMerger(0) threw exception IndexSizeError: Failed to ex ecute 'createChannelMerger' on 'AudioContext': Failed to construct 'ChannelMerge rNode': number of inputs (0) must be between 1 and 32..
21 PASS context.createChannelMerger(99) threw exception IndexSizeError: Failed to c onstruct 'ChannelMergerNode': number of inputs (99) must be between 1 and 32.. 21 PASS context.createChannelMerger(99) threw exception IndexSizeError: Failed to e xecute 'createChannelMerger' on 'AudioContext': Failed to construct 'ChannelMerg erNode': number of inputs (99) must be between 1 and 32..
22 PASS context.createPeriodicWave(null, null) threw exception SyntaxError: Failed to construct 'PeriodicWave': invalid real array. 22 PASS context.createPeriodicWave(null, null) threw exception SyntaxError: Failed to execute 'createPeriodicWave' on 'AudioContext': Failed to construct 'Periodic Wave': invalid real array.
23 PASS context.createPeriodicWave(new Float32Array(10), null) threw exception Synt axError: Failed to construct 'PeriodicWave': invalid imaginary array. 23 PASS context.createPeriodicWave(new Float32Array(10), null) threw exception Synt axError: Failed to execute 'createPeriodicWave' on 'AudioContext': Failed to con struct 'PeriodicWave': invalid imaginary array.
24 PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100)) threw exception IndexSizeError: Failed to construct 'PeriodicWave': length of re al array (4100) exceeds allowed maximum of 4096. 24 PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'Audio Context': Failed to construct 'PeriodicWave': length of real array (4100) exceed s allowed maximum of 4096.
25 PASS context.createPeriodicWave(new Float32Array(10), new Float32Array(7)) threw exception IndexSizeError: Failed to construct 'PeriodicWave': length of real ar ray (10) and length of imaginary array (7) must match.. 25 PASS context.createPeriodicWave(new Float32Array(10), new Float32Array(7)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'AudioConte xt': Failed to construct 'PeriodicWave': length of real array (10) and length of imaginary array (7) must match..
26 PASS node.fftSize = 42 threw exception IndexSizeError: Failed to set the 'fftSiz e' property on 'AnalyserNode': FFT size (42) must be a power of two between 32 a nd 2048, inclusive. 26 PASS node.fftSize = 42 threw exception IndexSizeError: Failed to set the 'fftSiz e' property on 'AnalyserNode': Failed to set the 'fftSize' property on 'Analyser Node': FFT size (42) must be a power of two between 32 and 2048, inclusive.
27 PASS node.fftSize = 16 threw exception IndexSizeError: Failed to set the 'fftSiz e' property on 'AnalyserNode': FFT size (16) must be a power of two between 32 a nd 2048, inclusive. 27 PASS node.fftSize = 16 threw exception IndexSizeError: Failed to set the 'fftSiz e' property on 'AnalyserNode': Failed to set the 'fftSize' property on 'Analyser Node': FFT size (16) must be a power of two between 32 and 2048, inclusive.
28 PASS node.fftSize = 4096 threw exception IndexSizeError: Failed to set the 'fftS ize' property on 'AnalyserNode': FFT size (4096) must be a power of two between 32 and 2048, inclusive. 28 PASS node.fftSize = 4096 threw exception IndexSizeError: Failed to set the 'fftS ize' property on 'AnalyserNode': Failed to set the 'fftSize' property on 'Analys erNode': FFT size (4096) must be a power of two between 32 and 2048, inclusive.
29 PASS node.minDecibels = -10 threw exception IndexSizeError: Failed to set the 'm inDecibels' property on 'AnalyserNode': minDecibels (-10) must be less than or e qual maxDecibels (-30).. 29 PASS node.minDecibels = -10 threw exception IndexSizeError: Failed to set the 'm inDecibels' property on 'AnalyserNode': Failed to set the 'minDecibels' property on 'AnalyserNode': minDecibels (-10) must be less than or equal maxDecibels (-3 0)..
30 PASS node.maxDecibels = -150 threw exception IndexSizeError: Failed to set the ' maxDecibels' property on 'AnalyserNode': maxDecibels (-150) must be greater than or equal minDecibels (-100).. 30 PASS node.maxDecibels = -150 threw exception IndexSizeError: Failed to set the ' maxDecibels' property on 'AnalyserNode': Failed to set the 'maxDecibels' propert y on 'AnalyserNode': maxDecibels (-150) must be greater than or equal minDecibel s (-100)..
31 PASS node.smoothingTimeConstant = -0.1 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': smoothing value (-0 .1) must be between 0 and 1, inclusive.. 31 PASS node.smoothingTimeConstant = -0.1 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': Failed to set the ' smoothingTimeConstant' property on 'AnalyserNode': smoothing value (-0.1) must b e between 0 and 1, inclusive..
32 PASS node.smoothingTimeConstant = 1.5 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': smoothing value (1.5 ) must be between 0 and 1, inclusive.. 32 PASS node.smoothingTimeConstant = 1.5 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': Failed to set the 's moothingTimeConstant' property on 'AnalyserNode': smoothing value (1.5) must be between 0 and 1, inclusive..
33 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ). 33 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ).
34 PASS node.connect(null, 0, 0) threw exception SyntaxError: Failed to execute 'co nnect' on 'AudioNode': invalid destination node.. 34 PASS node.connect(null, 0, 0) threw exception SyntaxError: Failed to execute 'co nnect' on 'AudioNode': invalid destination node..
35 PASS node.connect(context.destination, 100, 0) threw exception IndexSizeError: F ailed to execute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1).. 35 PASS node.connect(context.destination, 100, 0) threw exception IndexSizeError: F ailed to execute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1)..
36 PASS node.connect(context.destination, 0, 100) threw exception IndexSizeError: F ailed to execute 'connect' on 'AudioNode': input index (100) exceeds number of i nputs (1).. 36 PASS node.connect(context.destination, 0, 100) threw exception IndexSizeError: F ailed to execute 'connect' on 'AudioNode': input index (100) exceeds number of i nputs (1)..
37 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). . 37 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). .
38 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc onnect' on 'AudioNode': output index (99) exceeds number of outputs (1).. 38 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc onnect' on 'AudioNode': output index (99) exceeds number of outputs (1)..
39 PASS node.connect(otherContext.destination) threw exception SyntaxError: Failed to execute 'connect' on 'AudioNode': cannot connect to a destination belonging t o a different audio context.. 39 PASS node.connect(otherContext.destination) threw exception SyntaxError: Failed to execute 'connect' on 'AudioNode': cannot connect to a destination belonging t o a different audio context..
40 PASS node.channelCount = 99 threw exception NotSupportedError: Failed to set the 'channelCount' property on 'AudioNode': channel count (99) must be between 1 an d 32.. 40 PASS node.channelCount = 99 threw exception NotSupportedError: Failed to set the 'channelCount' property on 'AudioNode': channel count (99) must be between 1 an d 32..
41 PASS node.channelCountMode = mode threw exception InvalidStateError: Failed to s et the 'channelCountMode' property on 'AudioNode': invalid mode 'fancy'; must be 'max', 'clamped-max', or 'explicit'.. 41 PASS node.channelCountMode = mode threw exception InvalidStateError: Failed to s et the 'channelCountMode' property on 'AudioNode': invalid mode 'fancy'; must be 'max', 'clamped-max', or 'explicit'..
42 PASS node.channelInterpretation = mode threw exception InvalidStateError: Failed to set the 'channelInterpretation' property on 'AudioNode': invalid interpretat ion 'fancy'; must be 'speakers' or 'discrete'.. 42 PASS node.channelInterpretation = mode threw exception InvalidStateError: Failed to set the 'channelInterpretation' property on 'AudioNode': invalid interpretat ion 'fancy'; must be 'speakers' or 'discrete'..
43 PASS context.destination.channelCount = 99 threw exception IndexSizeError: Faile d to set the 'channelCount' property on 'AudioDestinationNode': channel count (9 9) must be between 1 and 2.. 43 PASS context.destination.channelCount = 99 threw exception IndexSizeError: Faile d to set the 'channelCount' property on 'AudioNode': Failed to set the 'channelC ount' property on 'AudioDestinationNode': channel count (99) must be between 1 a nd 2..
44 PASS new webkitOfflineAudioContext(99, 100, context.sampleRate) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': number of channels (99) exceeds maximum (10).. 44 PASS new webkitOfflineAudioContext(99, 100, context.sampleRate) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': number of channels (99) exceeds maximum (10)..
45 PASS new webkitOfflineAudioContext(1, 100, 1) threw exception SyntaxError: Faile d to construct 'OfflineAudioContext': sample rate (1) must be in the range 44100 -96000 Hz.. 45 PASS new webkitOfflineAudioContext(1, 100, 1) threw exception SyntaxError: Faile d to construct 'OfflineAudioContext': sample rate (1) must be in the range 44100 -96000 Hz..
46 PASS new webkitOfflineAudioContext(1, 100, 1e6) threw exception SyntaxError: Fai led to construct 'OfflineAudioContext': sample rate (1.00000e+6) must be in the range 44100-96000 Hz.. 46 PASS new webkitOfflineAudioContext(1, 100, 1e6) threw exception SyntaxError: Fai led to construct 'OfflineAudioContext': sample rate (1.00000e+6) must be in the range 44100-96000 Hz..
47 PASS node.oversample = '9x' threw exception InvalidStateError: Failed to set the 'oversample' property on 'WaveShaperNode': invalid oversample '9x': must be 'no ne', '2x', or '4x'.. 47 PASS node.oversample = '9x' threw exception InvalidStateError: Failed to set the 'oversample' property on 'WaveShaperNode': Failed to set the 'oversample' prope rty on 'WaveShaperNode': invalid oversample '9x': must be 'none', '2x', or '4x'. .
48 PASS source = context.createBufferSource() did not throw exception. 48 PASS source = context.createBufferSource() did not throw exception.
49 PASS source.buffer = buffer did not throw exception. 49 PASS source.buffer = buffer did not throw exception.
50 PASS source.start() did not throw exception. 50 PASS source.start() did not throw exception.
51 PASS source.stop() did not throw exception. 51 PASS source.stop() did not throw exception.
52 PASS source = context.createBufferSource() did not throw exception. 52 PASS source = context.createBufferSource() did not throw exception.
53 PASS source.start() did not throw exception. 53 PASS source.start() did not throw exception.
54 PASS source = context.createBufferSource() did not throw exception. 54 PASS source = context.createBufferSource() did not throw exception.
55 PASS source.buffer = buffer did not throw exception. 55 PASS source.buffer = buffer did not throw exception.
56 PASS source.stop() threw exception InvalidStateError: Failed to execute 'stop' o n 'OscillatorNode': cannot call stop without calling start first.. 56 PASS source.stop() threw exception InvalidStateError: Failed to execute 'stop' o n 'AudioBufferSourceNode': cannot call stop without calling start first..
57 PASS source = context.createBufferSource() did not throw exception. 57 PASS source = context.createBufferSource() did not throw exception.
58 PASS source.buffer = buffer did not throw exception. 58 PASS source.buffer = buffer did not throw exception.
59 PASS source.start() did not throw exception. 59 PASS source.start() did not throw exception.
60 PASS source.start() threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': cannot call start more than once.. 60 PASS source.start() threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': cannot call start more than once..
61 PASS source = context.createBufferSource() did not throw exception. 61 PASS source = context.createBufferSource() did not throw exception.
62 PASS source.buffer = buffer did not throw exception. 62 PASS source.buffer = buffer did not throw exception.
63 PASS source.start() did not throw exception. 63 PASS source.start() did not throw exception.
64 PASS source.stop() did not throw exception. 64 PASS source.stop() did not throw exception.
65 PASS source.stop() threw exception InvalidStateError: Failed to execute 'stop' o n 'OscillatorNode': cannot call stop more than once.. 65 PASS source.stop() threw exception InvalidStateError: Failed to execute 'stop' o n 'AudioBufferSourceNode': cannot call stop more than once..
66 PASS source = context.createOscillator() did not throw exception. 66 PASS source = context.createOscillator() did not throw exception.
67 PASS source.start() did not throw exception. 67 PASS source.start() did not throw exception.
68 PASS source.stop() did not throw exception. 68 PASS source.stop() did not throw exception.
69 PASS osc = context.createOscillator() did not throw exception. 69 PASS osc = context.createOscillator() did not throw exception.
70 PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on ' OscillatorNode': cannot call stop without calling start first.. 70 PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on ' OscillatorNode': cannot call stop without calling start first..
71 PASS osc1 = context.createOscillator() did not throw exception. 71 PASS osc1 = context.createOscillator() did not throw exception.
72 PASS osc1.start() did not throw exception. 72 PASS osc1.start() did not throw exception.
73 PASS osc1.stop() did not throw exception. 73 PASS osc1.stop() did not throw exception.
74 PASS osc1.stop() threw exception InvalidStateError: Failed to execute 'stop' on 'OscillatorNode': cannot call stop more than once.. 74 PASS osc1.stop() threw exception InvalidStateError: Failed to execute 'stop' on 'OscillatorNode': cannot call stop more than once..
75 PASS successfullyParsed is true 75 PASS successfullyParsed is true
76 76
77 TEST COMPLETE 77 TEST COMPLETE
78 78
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/delaynode-maxdelaylimit-expected.txt ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698