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

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

Issue 212793002: Fix attributes types on AnalyserNode as specification of web audio. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add compatibility.js Created 6 years, 8 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 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 execute 'createBuffer' on 'AudioContext': requested number of channels (99) exceeds maximum (32). 5 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte dError: Failed to execute 'createBuffer' on 'AudioContext': requested number of channels (99) exceeds maximum (32).
6 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested sample rate (1) does not lie in the allowed range of 3000-192000 Hz. 6 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': requested sample rate (1) does not lie in the allowed range of 3000-192000 Hz.
7 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'AudioContext': requested sample rate (1.00000e+6) d oes not lie in the allowed range of 3000-192000 Hz. 7 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'AudioContext': requested sample rate (1.00000e+6) d oes not lie in the allowed range of 3000-192000 Hz.
8 PASS context.createBuffer(1, 1, 3000) did not throw exception. 8 PASS context.createBuffer(1, 1, 3000) did not throw exception.
9 PASS context.createBuffer(1, 1, 192000) did not throw exception. 9 PASS context.createBuffer(1, 1, 192000) did not throw exception.
10 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': number of frames must be greater than 0.. 10 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': number of frames must be greater than 0..
(...skipping 12 matching lines...) Expand all
23 PASS context.createChannelMerger(99) threw exception IndexSizeError: Failed to e xecute 'createChannelMerger' on 'AudioContext': number of inputs (99) must be be tween 1 and 32.. 23 PASS context.createChannelMerger(99) threw exception IndexSizeError: Failed to e xecute 'createChannelMerger' on 'AudioContext': number of inputs (99) must be be tween 1 and 32..
24 PASS context.createPeriodicWave(null, null) threw exception SyntaxError: Failed to execute 'createPeriodicWave' on 'AudioContext': invalid real array. 24 PASS context.createPeriodicWave(null, null) threw exception SyntaxError: Failed to execute 'createPeriodicWave' on 'AudioContext': invalid real array.
25 PASS context.createPeriodicWave(new Float32Array(10), null) threw exception Synt axError: Failed to execute 'createPeriodicWave' on 'AudioContext': invalid imagi nary array. 25 PASS context.createPeriodicWave(new Float32Array(10), null) threw exception Synt axError: Failed to execute 'createPeriodicWave' on 'AudioContext': invalid imagi nary array.
26 PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'Audio Context': length of real array (4100) exceeds allowed maximum of 4096. 26 PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100)) threw exception IndexSizeError: Failed to execute 'createPeriodicWave' on 'Audio Context': length of real array (4100) exceeds allowed maximum of 4096.
27 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.. 27 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..
28 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.. 28 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..
29 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, 2048].. 29 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, 2048]..
30 PASS node.fftSize = 4096 threw exception IndexSizeError: Failed to set the 'fftS ize' property on 'AnalyserNode': The FFT size provided (4096) is outside the ran ge [32, 2048].. 30 PASS node.fftSize = 4096 threw exception IndexSizeError: Failed to set the 'fftS ize' property on 'AnalyserNode': The FFT size provided (4096) is outside the ran ge [32, 2048]..
31 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).. 31 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)..
32 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).. 32 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)..
33 PASS node.minDecibels = -30 threw exception IndexSizeError: Failed to set the 'm inDecibels' property on 'AnalyserNode': The minDecibels provided (-30) is greate r than or equal to the maximum bound (-30)..
34 PASS node.maxDecibels = -100 threw exception IndexSizeError: Failed to set the ' maxDecibels' property on 'AnalyserNode': The maxDecibels provided (-100) is less than or equal to the minimum bound (-100)..
33 PASS node.smoothingTimeConstant = -0.1 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': The smoothing value provided (-0.1) is outside the range [0, 1].. 35 PASS node.smoothingTimeConstant = -0.1 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': The smoothing value provided (-0.1) is outside the range [0, 1]..
34 PASS node.smoothingTimeConstant = 1.5 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': The smoothing value provided (1.5) is outside the range [0, 1].. 36 PASS node.smoothingTimeConstant = 1.5 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': The smoothing value provided (1.5) is outside the range [0, 1]..
35 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ). 37 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ).
36 PASS node.connect(null, 0, 0) threw exception SyntaxError: Failed to execute 'co nnect' on 'AudioNode': invalid destination node.. 38 PASS node.connect(null, 0, 0) threw exception SyntaxError: Failed to execute 'co nnect' on 'AudioNode': invalid destination node..
37 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).. 39 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)..
38 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).. 40 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)..
39 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). . 41 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). .
40 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc onnect' on 'AudioNode': output index (99) exceeds number of outputs (1).. 42 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc onnect' on 'AudioNode': output index (99) exceeds number of outputs (1)..
41 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.. 43 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..
42 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.. 44 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..
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 PASS osc1.stop() did not throw exception. 77 PASS osc1.stop() did not throw exception.
76 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidStat eError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value for exponential ramp must be positive: -1. 78 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidStat eError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value for exponential ramp must be positive: -1.
77 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidState Error: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value for exponential ramp must be positive: 0. 79 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidState Error: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value for exponential ramp must be positive: 0.
78 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception. 80 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception.
79 PASS conv = oc.createConvolver() did not throw exception. 81 PASS conv = oc.createConvolver() did not throw exception.
80 PASS conv.buffer = oc.createBuffer(1, 100, 22050) threw exception NotSupportedEr ror: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample r ate of 22050 does not match the context rate of 44100 Hz.. 82 PASS conv.buffer = oc.createBuffer(1, 100, 22050) threw exception NotSupportedEr ror: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample r ate of 22050 does not match the context rate of 44100 Hz..
81 PASS successfullyParsed is true 83 PASS successfullyParsed is true
82 84
83 TEST COMPLETE 85 TEST COMPLETE
84 86
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/dom-exceptions.html ('k') | LayoutTests/webaudio/realtimeanalyser-basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698