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

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: Update for review Created 5 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
« no previous file with comments | « LayoutTests/webaudio/dom-exceptions.html ('k') | Source/modules/webaudio/AsyncAudioDecoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE WARNING: The provided value 'fancy' is not a valid enum value of type Ch annelCountMode. 1 CONSOLE WARNING: The provided value 'fancy' is not a valid enum value of type Ch annelCountMode.
2 CONSOLE WARNING: The provided value 'undefined' is not a valid enum value of typ e ChannelInterpretation. 2 CONSOLE WARNING: The provided value 'undefined' is not a valid enum value of typ e ChannelInterpretation.
3 CONSOLE WARNING: The provided value '9x' is not a valid enum value of type OverS ampleType. 3 CONSOLE WARNING: The provided value '9x' is not a valid enum value of type OverS ampleType.
4 CONSOLE WARNING: Setting AudioBufferSourceNode.buffer more than once is deprecat ed and will no longer work in Chrome 43. 4 CONSOLE WARNING: Setting AudioBufferSourceNode.buffer more than once is deprecat ed and will no longer work in Chrome 43.
5 CONSOLE WARNING: The provided value 'junk' is not a valid enum value of type Cha nnelCountMode. 5 CONSOLE WARNING: The provided value 'junk' is not a valid enum value of type Cha nnelCountMode.
6 CONSOLE WARNING: The provided value 'junk' is not a valid enum value of type Cha nnelCountMode. 6 CONSOLE WARNING: The provided value 'junk' is not a valid enum value of type Cha nnelCountMode.
7 Tests DOM exception messages 7 Tests DOM exception messages
8 8
9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
10 10
11 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].. 11 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]..
12 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].. 12 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]..
13 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].. 13 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]..
14 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].. 14 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]..
15 PASS context.createBuffer(1, 1, 3000) did not throw exception. 15 PASS context.createBuffer(1, 1, 3000) did not throw exception.
16 PASS context.createBuffer(1, 1, 192000) did not throw exception. 16 PASS context.createBuffer(1, 1, 192000) did not throw exception.
17 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).. 17 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)..
18 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception TypeError: Failed to execute 'createBuffer' on 'AudioContext': 3 arguments required, but o nly 2 present.. 18 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception TypeError: Failed to execute 'createBuffer' on 'AudioContext': 3 arguments required, but o nly 2 present..
19 PASS context.decodeAudioData(null, function() {}, function () {}) threw exceptio n SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid Ar rayBuffer for audioData..
20 PASS context.createMediaElementSource(null) threw exception InvalidStateError: F ailed to execute 'createMediaElementSource' on 'AudioContext': invalid HTMLMedia lElement.. 19 PASS context.createMediaElementSource(null) threw exception InvalidStateError: F ailed to execute 'createMediaElementSource' on 'AudioContext': invalid HTMLMedia lElement..
21 PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Fa iled to execute 'createMediaStreamSource' on 'AudioContext': invalid MediaStream source. 20 PASS context.createMediaStreamSource(null) threw exception InvalidStateError: Fa iled to execute 'createMediaStreamSource' on 'AudioContext': invalid MediaStream source.
22 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.. 21 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..
23 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of input ch annels (100) exceeds maximum (32).. 22 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of input ch annels (100) exceeds maximum (32)..
24 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of output c hannels (1) exceeds maximum (32).. 23 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'AudioContext': number of output c hannels (1) exceeds maximum (32)..
25 PASS context.createScriptProcessor() did not throw exception. 24 PASS context.createScriptProcessor() did not throw exception.
26 PASS context.createScriptProcessor(0) did not throw exception. 25 PASS context.createScriptProcessor(0) did not throw exception.
27 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (0) must be between 1 and 32.. 26 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (0) must be between 1 and 32..
28 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (99) must be between 1 and 32.. 27 PASS context.createChannelSplitter(99) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'AudioContext': number of outputs (99) must be between 1 and 32..
29 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.. 28 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 PASS script.channelCountMode is not 'clamped-max' 162 PASS script.channelCountMode is not 'clamped-max'
164 PASS script.channelCountMode = 'junk' did not throw exception. 163 PASS script.channelCountMode = 'junk' did not throw exception.
165 PASS osc.noteOn is undefined. 164 PASS osc.noteOn is undefined.
166 PASS osc.noteOff is undefined. 165 PASS osc.noteOff is undefined.
167 PASS source.noteOn is undefined. 166 PASS source.noteOn is undefined.
168 PASS source.noteOff is undefined. 167 PASS source.noteOff is undefined.
169 PASS successfullyParsed is true 168 PASS successfullyParsed is true
170 169
171 TEST COMPLETE 170 TEST COMPLETE
172 171
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/dom-exceptions.html ('k') | Source/modules/webaudio/AsyncAudioDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698