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

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

Issue 1006963003: AudioContext.decodeAudioData returns a Promise (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Error callback invoked with error, not null. Created 5 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 CONSOLE WARNING: Setting AudioBufferSourceNode.buffer more than once is deprecat ed and will no longer work in Chrome 43. 1 CONSOLE WARNING: Setting AudioBufferSourceNode.buffer more than once is deprecat ed and will no longer work in Chrome 43.
2 Tests DOM exception messages 2 Tests DOM exception messages
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte dError: Failed to execute 'createBuffer' on 'AudioContext': The number of channe ls provided (99) is outside the range [1, 32].. 6 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte dError: Failed to execute 'createBuffer' on 'AudioContext': The number of channe ls provided (99) is outside the range [1, 32]..
7 PASS context.createBuffer(0, 1, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': The number of channel s provided (0) is outside the range [1, 32].. 7 PASS context.createBuffer(0, 1, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': The number of channel s provided (0) is outside the range [1, 32]..
8 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': The sample rate provided (1) is outsid e the range [3000, 192000].. 8 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': The sample rate provided (1) is outsid e the range [3000, 192000]..
9 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'AudioContext': The sample rate provided (1.00000e+6 ) is outside the range [3000, 192000].. 9 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'AudioContext': The sample rate provided (1.00000e+6 ) is outside the range [3000, 192000]..
10 PASS context.createBuffer(1, 1, 3000) did not throw exception. 10 PASS context.createBuffer(1, 1, 3000) did not throw exception.
11 PASS context.createBuffer(1, 1, 192000) did not throw exception. 11 PASS context.createBuffer(1, 1, 192000) did not throw exception.
12 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': The number of frames provided (0) is less than or equal to the minimum bound (0).. 12 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': The number of frames provided (0) is less than or equal to the minimum bound (0)..
13 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception TypeError: Failed to execute 'createBuffer' on 'AudioContext': 3 arguments required, but o nly 2 present.. 13 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception TypeError: Failed to execute 'createBuffer' on 'AudioContext': 3 arguments required, but o nly 2 present..
14 PASS context.decodeAudioData(null, function() {}, function () {}) threw exceptio n SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid Ar rayBuffer for audioData..
15 PASS context.createMediaElementSource(null) threw exception InvalidStateError: F ailed to execute 'createMediaElementSource' on 'AudioContext': invalid HTMLMedia lElement.. 14 PASS context.createMediaElementSource(null) threw exception InvalidStateError: F ailed to execute 'createMediaElementSource' on 'AudioContext': invalid HTMLMedia lElement..
16 PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Fa iled to execute 'createMediaStreamSource' on 'AudioContext': invalid MediaStream source. 15 PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Fa iled to execute 'createMediaStreamSource' on 'AudioContext': invalid MediaStream source.
17 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(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..
18 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, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of input ch annels (100) exceeds maximum (32)..
19 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(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of output c hannels (1) exceeds maximum (32)..
20 PASS context.createScriptProcessor() did not throw exception. 19 PASS context.createScriptProcessor() did not throw exception.
21 PASS context.createScriptProcessor(0) did not throw exception. 20 PASS context.createScriptProcessor(0) did not throw exception.
22 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(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (0) must be between 1 and 32..
23 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (99) must be between 1 and 32.. 22 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (99) must be between 1 and 32..
24 PASS context.createChannelMerger(0) threw exception IndexSizeError: Failed to ex ecute 'createChannelMerger' on 'AudioContext': number of inputs (0) must be betw een 1 and 32.. 23 PASS context.createChannelMerger(0) threw exception IndexSizeError: Failed to ex ecute 'createChannelMerger' on 'AudioContext': number of inputs (0) must be betw een 1 and 32..
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 PASS script.channelCountMode is not 'clamped-max' 156 PASS script.channelCountMode is not 'clamped-max'
158 PASS script.channelCountMode = 'junk' did not throw exception. 157 PASS script.channelCountMode = 'junk' did not throw exception.
159 PASS osc.noteOn is undefined. 158 PASS osc.noteOn is undefined.
160 PASS osc.noteOff is undefined. 159 PASS osc.noteOff is undefined.
161 PASS source.noteOn is undefined. 160 PASS source.noteOn is undefined.
162 PASS source.noteOff is undefined. 161 PASS source.noteOff is undefined.
163 PASS successfullyParsed is true 162 PASS successfullyParsed is true
164 163
165 TEST COMPLETE 164 TEST COMPLETE
166 165
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698