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

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

Issue 225093020: Remove 2-arg createBuffer from WebAudio (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unused var 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 | 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 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..
11 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxErro r: Failed to execute 'createBuffer' on 'AudioContext': invalid audio data in Arr ayBuffer.. 11 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception TypeError: Failed to execute 'createBuffer' on 'AudioContext': 3 arguments required, but o nly 2 present..
12 PASS context.decodeAudioData(null, function() {}, function () {}) threw exceptio n SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid Ar rayBuffer for audioData.. 12 PASS context.decodeAudioData(null, function() {}, function () {}) threw exceptio n SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid Ar rayBuffer for audioData..
13 PASS context.createMediaElementSource(null) threw exception InvalidStateError: F ailed to execute 'createMediaElementSource' on 'AudioContext': invalid HTMLMedia lElement.. 13 PASS context.createMediaElementSource(null) threw exception InvalidStateError: F ailed to execute 'createMediaElementSource' on 'AudioContext': invalid HTMLMedia lElement..
14 PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Fa iled to execute 'createMediaStreamSource' on 'AudioContext': invalid MediaStream source. 14 PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Fa iled to execute 'createMediaStreamSource' on 'AudioContext': invalid MediaStream source.
15 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.. 15 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..
16 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of input ch annels (100) exceeds maximum (32).. 16 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of input ch annels (100) exceeds maximum (32)..
17 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of output c hannels (1) exceeds maximum (32).. 17 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of output c hannels (1) exceeds maximum (32)..
18 PASS context.createScriptProcessor() did not throw exception. 18 PASS context.createScriptProcessor() did not throw exception.
19 PASS context.createScriptProcessor(0) did not throw exception. 19 PASS context.createScriptProcessor(0) did not throw exception.
20 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (0) must be between 1 and 32.. 20 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (0) must be between 1 and 32..
21 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (99) must be between 1 and 32.. 21 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (99) must be between 1 and 32..
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 PASS osc1.stop() did not throw exception. 77 PASS osc1.stop() did not throw exception.
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. 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.
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. 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.
80 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception. 80 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception.
81 PASS conv = oc.createConvolver() did not throw exception. 81 PASS conv = oc.createConvolver() did not throw exception.
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.. 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..
83 PASS successfullyParsed is true 83 PASS successfullyParsed is true
84 84
85 TEST COMPLETE 85 TEST COMPLETE
86 86
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/dom-exceptions.html ('k') | LayoutTests/webaudio/resources/buffer-loader.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698