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

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

Issue 2334773003: Support sample rates up to 384 kHz. (Closed)
Patch Set: Rebase and fix up histograms.xml Created 4 years, 2 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
OLDNEW
1 CONSOLE WARNING: line 1: The provided value 'fancy' is not a valid enum value of type ChannelCountMode. 1 CONSOLE WARNING: line 1: The provided value 'fancy' is not a valid enum value of type ChannelCountMode.
2 CONSOLE WARNING: line 1: The provided value 'undefined' is not a valid enum valu e of type ChannelInterpretation. 2 CONSOLE WARNING: line 1: The provided value 'undefined' is not a valid enum valu e of type ChannelInterpretation.
3 CONSOLE WARNING: line 1: The provided value '9x' is not a valid enum value of ty pe OverSampleType. 3 CONSOLE WARNING: line 1: The provided value '9x' is not a valid enum value of ty pe OverSampleType.
4 CONSOLE WARNING: line 1: The provided value 'junk' is not a valid enum value of type ChannelCountMode. 4 CONSOLE WARNING: line 1: The provided value 'junk' is not a valid enum value of type ChannelCountMode.
5 CONSOLE WARNING: line 1: The provided value 'junk' is not a valid enum value of type ChannelCountMode. 5 CONSOLE WARNING: line 1: The provided value 'junk' is not a valid enum value of type ChannelCountMode.
6 Tests DOM exception messages 6 Tests DOM exception messages
7 7
8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
9 9
10 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte dError: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of ch annels provided (99) is outside the range [1, 32].. 10 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte dError: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of ch annels provided (99) is outside the range [1, 32]..
11 PASS context.createBuffer(0, 1, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of cha nnels provided (0) is outside the range [1, 32].. 11 PASS context.createBuffer(0, 1, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of cha nnels provided (0) is outside the range [1, 32]..
12 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (1) is ou tside the range [3000, 192000].. 12 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (1) is ou tside the range [3000, 384000]..
13 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (1.0000 0e+6) is outside the range [3000, 192000].. 13 PASS context.createBuffer(1, 1, 2999) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (2999) is outside the range [3000, 384000]..
14 PASS context.createBuffer(1, 1, 384001) threw exception NotSupportedError: Faile d to execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (384 001) is outside the range [3000, 384000]..
15 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (1.0000 0e+6) is outside the range [3000, 384000]..
14 PASS context.createBuffer(1, 1, 3000) did not throw exception. 16 PASS context.createBuffer(1, 1, 3000) did not throw exception.
15 PASS context.createBuffer(1, 1, 192000) did not throw exception. 17 PASS context.createBuffer(1, 1, 192000) did not throw exception.
18 PASS context.createBuffer(1, 1, 384000) did not throw exception.
16 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of fra mes provided (0) is less than or equal to the minimum bound (0).. 19 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of fra mes provided (0) is less than or equal to the minimum bound (0)..
17 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception TypeError: Failed to execute 'createBuffer' on 'BaseAudioContext': 3 arguments required, b ut only 2 present.. 20 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception TypeError: Failed to execute 'createBuffer' on 'BaseAudioContext': 3 arguments required, b ut only 2 present..
18 PASS context.createMediaElementSource(null) threw exception TypeError: Failed to execute 'createMediaElementSource' on 'BaseAudioContext': parameter 1 is not of type 'HTMLMediaElement'.. 21 PASS context.createMediaElementSource(null) threw exception TypeError: Failed to execute 'createMediaElementSource' on 'BaseAudioContext': parameter 1 is not of type 'HTMLMediaElement'..
19 PASS context.createMediaStreamSource(null) threw exception TypeError: Failed to execute 'createMediaStreamSource' on 'BaseAudioContext': parameter 1 is not of t ype 'MediaStream'.. 22 PASS context.createMediaStreamSource(null) threw exception TypeError: Failed to execute 'createMediaStreamSource' on 'BaseAudioContext': parameter 1 is not of t ype 'MediaStream'..
20 PASS context.createScriptProcessor(1, 1, 1) threw exception IndexSizeError: Fail ed to execute 'createScriptProcessor' on 'BaseAudioContext': buffer size (1) mus t be 0 or a power of two between 256 and 16384.. 23 PASS context.createScriptProcessor(1, 1, 1) threw exception IndexSizeError: Fail ed to execute 'createScriptProcessor' on 'BaseAudioContext': buffer size (1) mus t be 0 or a power of two between 256 and 16384..
21 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'BaseAudioContext': number of inpu t channels (100) exceeds maximum (32).. 24 PASS context.createScriptProcessor(4096, 100, 1) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'BaseAudioContext': number of inpu t channels (100) exceeds maximum (32)..
22 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'BaseAudioContext': number of outp ut channels (100) exceeds maximum (32).. 25 PASS context.createScriptProcessor(4096, 1, 100) threw exception IndexSizeError: Failed to execute 'createScriptProcessor' on 'BaseAudioContext': number of outp ut channels (100) exceeds maximum (32)..
23 PASS context.createScriptProcessor() did not throw exception. 26 PASS context.createScriptProcessor() did not throw exception.
24 PASS context.createScriptProcessor(0) did not throw exception. 27 PASS context.createScriptProcessor(0) did not throw exception.
25 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'BaseAudioContext': The number of outputs pro vided (0) is outside the range [1, 32].. 28 PASS context.createChannelSplitter(0) threw exception IndexSizeError: Failed to execute 'createChannelSplitter' on 'BaseAudioContext': The number of outputs pro vided (0) is outside the range [1, 32]..
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 PASS node.channelInterpretation = mode did not throw exception. 72 PASS node.channelInterpretation = mode did not throw exception.
70 PASS Invalid channelInterpration value did not change mode 73 PASS Invalid channelInterpration value did not change mode
71 PASS context.destination.channelCount = 99 threw IndexSizeError exception on inv alid channel count. 74 PASS context.destination.channelCount = 99 threw IndexSizeError exception on inv alid channel count.
72 PASS param.setValueCurveAtTime(null, 0, 0) threw exception TypeError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': parameter 1 is not of type 'Float 32Array'.. 75 PASS param.setValueCurveAtTime(null, 0, 0) threw exception TypeError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': parameter 1 is not of type 'Float 32Array'..
73 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), new Flo at32Array(1)) did not throw exception. 76 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), new Flo at32Array(1)) did not throw exception.
74 PASS node.getFrequencyResponse(null, new Float32Array(1), new Float32Array(1)) t hrew exception TypeError: Failed to execute 'getFrequencyResponse' on 'BiquadFil terNode': parameter 1 is not of type 'Float32Array'.. 77 PASS node.getFrequencyResponse(null, new Float32Array(1), new Float32Array(1)) t hrew exception TypeError: Failed to execute 'getFrequencyResponse' on 'BiquadFil terNode': parameter 1 is not of type 'Float32Array'..
75 PASS node.getFrequencyResponse(new Float32Array(1), null, new Float32Array(1)) t hrew exception TypeError: Failed to execute 'getFrequencyResponse' on 'BiquadFil terNode': parameter 2 is not of type 'Float32Array'.. 78 PASS node.getFrequencyResponse(new Float32Array(1), null, new Float32Array(1)) t hrew exception TypeError: Failed to execute 'getFrequencyResponse' on 'BiquadFil terNode': parameter 2 is not of type 'Float32Array'..
76 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), null) t hrew exception TypeError: Failed to execute 'getFrequencyResponse' on 'BiquadFil terNode': parameter 3 is not of type 'Float32Array'.. 79 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), null) t hrew exception TypeError: Failed to execute 'getFrequencyResponse' on 'BiquadFil terNode': parameter 3 is not of type 'Float32Array'..
77 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exceptio n. 80 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exceptio n.
78 PASS new OfflineAudioContext(99, 100, context.sampleRate) threw exception IndexS izeError: Failed to construct 'OfflineAudioContext': The number of channels prov ided (99) is outside the range [0, 32].. 81 PASS new OfflineAudioContext(99, 100, context.sampleRate) threw exception IndexS izeError: Failed to construct 'OfflineAudioContext': The number of channels prov ided (99) is outside the range [0, 32]..
79 PASS new OfflineAudioContext(1, 100, 1) threw exception IndexSizeError: Failed t o construct 'OfflineAudioContext': The sampleRate provided (1) is outside the ra nge [3000, 192000].. 82 PASS new OfflineAudioContext(1, 100, 1) threw exception IndexSizeError: Failed t o construct 'OfflineAudioContext': The sampleRate provided (1) is outside the ra nge [3000, 384000]..
80 PASS new OfflineAudioContext(1, 100, 1e6) threw exception IndexSizeError: Failed to construct 'OfflineAudioContext': The sampleRate provided (1.00000e+6) is out side the range [3000, 192000].. 83 PASS new OfflineAudioContext(1, 100, 1e6) threw exception IndexSizeError: Failed to construct 'OfflineAudioContext': The sampleRate provided (1.00000e+6) is out side the range [3000, 384000]..
81 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144 8390656, 44100). 84 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144 8390656, 44100).
82 PASS node.oversample = '9x' did not throw exception. 85 PASS node.oversample = '9x' did not throw exception.
83 PASS Invalid oversample value did not change node.oversample 86 PASS Invalid oversample value did not change node.oversample
84 PASS node.curve = {} threw exception TypeError: Failed to set the 'curve' proper ty on 'WaveShaperNode': The provided value is not of type 'Float32Array'.. 87 PASS node.curve = {} threw exception TypeError: Failed to set the 'curve' proper ty on 'WaveShaperNode': The provided value is not of type 'Float32Array'..
85 PASS node.curve = new Float32Array(1) threw exception InvalidAccessError: Failed to set the 'curve' property on 'WaveShaperNode': The curve length provided (1) is less than the minimum bound (2).. 88 PASS node.curve = new Float32Array(1) threw exception InvalidAccessError: Failed to set the 'curve' property on 'WaveShaperNode': The curve length provided (1) is less than the minimum bound (2)..
86 PASS node.curve is null 89 PASS node.curve is null
87 PASS node.curve = new Float32Array(2) did not throw exception. 90 PASS node.curve = new Float32Array(2) did not throw exception.
88 PASS node.curve = null did not throw exception. 91 PASS node.curve = null did not throw exception.
89 PASS source = context.createBufferSource() did not throw exception. 92 PASS source = context.createBufferSource() did not throw exception.
90 PASS source.buffer = buffer did not throw exception. 93 PASS source.buffer = buffer did not throw exception.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 PASS script.channelCountMode is not 'clamped-max' 184 PASS script.channelCountMode is not 'clamped-max'
182 PASS script.channelCountMode = 'junk' did not throw exception. 185 PASS script.channelCountMode = 'junk' did not throw exception.
183 PASS osc.noteOn is undefined. 186 PASS osc.noteOn is undefined.
184 PASS osc.noteOff is undefined. 187 PASS osc.noteOff is undefined.
185 PASS source.noteOn is undefined. 188 PASS source.noteOn is undefined.
186 PASS source.noteOff is undefined. 189 PASS source.noteOff is undefined.
187 PASS successfullyParsed is true 190 PASS successfullyParsed is true
188 191
189 TEST COMPLETE 192 TEST COMPLETE
190 193
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698