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

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

Issue 201673004: Allow createBuffer to support rates from 3-192 kHz. (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
« no previous file with comments | « LayoutTests/webaudio/dom-exceptions.html ('k') | Source/modules/webaudio/AudioBuffer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 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 3000-192000 Hz.
8 PASS context.createBuffer(1, 1, 3000) did not throw exception.
9 PASS context.createBuffer(1, 1, 192000) did not throw exception.
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.. 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..
9 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 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.. 12 PASS context.decodeAudioData(null, function() {}, function () {}) threw exceptio n SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid Ar rayBuffer for audioData..
11 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..
12 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.
13 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..
14 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)..
15 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)..
16 PASS context.createScriptProcessor() did not throw exception. 18 PASS context.createScriptProcessor() did not throw exception.
17 PASS context.createScriptProcessor(0) did not throw exception. 19 PASS context.createScriptProcessor(0) did not throw exception.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 PASS osc1.stop() did not throw exception. 75 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. 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.
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. 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.
76 PASS oc = new webkitOfflineAudioContext(1, 44100, 44100) did not throw exception . 78 PASS oc = new webkitOfflineAudioContext(1, 44100, 44100) did not throw exception .
77 PASS conv = oc.createConvolver() did not throw exception. 79 PASS conv = oc.createConvolver() did not throw exception.
78 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.. 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..
79 PASS successfullyParsed is true 81 PASS successfullyParsed is true
80 82
81 TEST COMPLETE 83 TEST COMPLETE
82 84
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/dom-exceptions.html ('k') | Source/modules/webaudio/AudioBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698