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

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

Issue 200543005: ConvolverNode.buffer sample rate must match AudioContext rate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 22050-96000 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 22050-96000 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 22050-96000 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 22050-96000 Hz.
8 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.. 8 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..
9 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxErro r: Failed to execute 'createBuffer' on 'AudioContext': invalid audio data in Arr ayBuffer.. 9 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxErro r: Failed to execute 'createBuffer' on 'AudioContext': invalid audio data in Arr ayBuffer..
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..
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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. 74 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.
75 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. 75 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.
76 PASS oc = new webkitOfflineAudioContext(1, 44100, 44100) did not throw exception .
77 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..
76 PASS successfullyParsed is true 78 PASS successfullyParsed is true
77 79
78 TEST COMPLETE 80 TEST COMPLETE
79 81
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698