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

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

Issue 2826673004: bindings: Make the sequence conversion code more compliant with WebIDL. (Closed)
Patch Set: Fix more test expectations Created 3 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
OLDNEW
1 CONSOLE WARNING: line 327: The provided value 'fancy' is not a valid enum value of type ChannelCountMode. 1 CONSOLE WARNING: line 327: The provided value 'fancy' is not a valid enum value of type ChannelCountMode.
2 CONSOLE WARNING: line 333: The provided value 'undefined' is not a valid enum va lue of type ChannelInterpretation. 2 CONSOLE WARNING: line 333: The provided value 'undefined' is not a valid enum va lue of type ChannelInterpretation.
3 CONSOLE WARNING: line 481: The provided value '9x' is not a valid enum value of type OverSampleType. 3 CONSOLE WARNING: line 481: The provided value '9x' is not a valid enum value of type OverSampleType.
4 CONSOLE WARNING: line 696: The provided value 'junk' is not a valid enum value o f type ChannelCountMode. 4 CONSOLE WARNING: line 696: The provided value 'junk' is not a valid enum value o f type ChannelCountMode.
5 CONSOLE WARNING: line 725: The provided value 'junk' is not a valid enum value o f type ChannelCountMode. 5 CONSOLE WARNING: line 725: The provided value 'junk' is not a valid enum value o f type ChannelCountMode.
6 This is a testharness.js-based test. 6 This is a testharness.js-based test.
7 PASS # AUDIT TASK RUNNER STARTED. 7 PASS # AUDIT TASK RUNNER STARTED.
8 PASS > [initialize] Initialize contexts for testing 8 PASS > [initialize] Initialize contexts for testing
9 PASS context = new AudioContext() did not throw an exception. 9 PASS context = new AudioContext() did not throw an exception.
10 PASS otherContext = new AudioContext() did not throw an exception. 10 PASS otherContext = new AudioContext() did not throw an exception.
(...skipping 26 matching lines...) Expand all
37 PASS < [createScriptProcessor] All assertions passed. (total 5 assertions) 37 PASS < [createScriptProcessor] All assertions passed. (total 5 assertions)
38 PASS > [createChannelSplitter] 38 PASS > [createChannelSplitter]
39 PASS context.createChannelSplitter(0) threw IndexSizeError: "Failed to execute 'createChannelSplitter' on 'BaseAudioContext': The number of outputs provided ( 0) is outside the range [1, 32].". 39 PASS context.createChannelSplitter(0) threw IndexSizeError: "Failed to execute 'createChannelSplitter' on 'BaseAudioContext': The number of outputs provided ( 0) is outside the range [1, 32].".
40 PASS context.createChannelSplitter(99) threw IndexSizeError: "Failed to execut e 'createChannelSplitter' on 'BaseAudioContext': The number of outputs provided (99) is outside the range [1, 32].". 40 PASS context.createChannelSplitter(99) threw IndexSizeError: "Failed to execut e 'createChannelSplitter' on 'BaseAudioContext': The number of outputs provided (99) is outside the range [1, 32].".
41 PASS context.createChannelMerger(0) threw IndexSizeError: "Failed to execute ' createChannelMerger' on 'BaseAudioContext': The number of inputs provided (0) is outside the range [1, 32].". 41 PASS context.createChannelMerger(0) threw IndexSizeError: "Failed to execute ' createChannelMerger' on 'BaseAudioContext': The number of inputs provided (0) is outside the range [1, 32].".
42 PASS < [createChannelSplitter] All assertions passed. (total 3 assertions) 42 PASS < [createChannelSplitter] All assertions passed. (total 3 assertions)
43 PASS > [createChannelMerger] 43 PASS > [createChannelMerger]
44 PASS context.createChannelMerger(99) threw IndexSizeError: "Failed to execute 'createChannelMerger' on 'BaseAudioContext': The number of inputs provided (99) is outside the range [1, 32].". 44 PASS context.createChannelMerger(99) threw IndexSizeError: "Failed to execute 'createChannelMerger' on 'BaseAudioContext': The number of inputs provided (99) is outside the range [1, 32].".
45 PASS < [createChannelMerger] All assertions passed. (total 1 assertions) 45 PASS < [createChannelMerger] All assertions passed. (total 1 assertions)
46 PASS > [createPeriodicWave] 46 PASS > [createPeriodicWave]
47 PASS context.createPeriodicWave(null, null) threw TypeError: "Failed to execut e 'createPeriodicWave' on 'BaseAudioContext': The 1st argument is neither an arr ay, nor does it have indexed properties.". 47 PASS context.createPeriodicWave(null, null) threw TypeError: "Failed to execut e 'createPeriodicWave' on 'BaseAudioContext': The provided value cannot be conve rted to a sequence.".
48 PASS context.createPeriodicWave(new Float32Array(10), null) threw TypeError: " Failed to execute 'createPeriodicWave' on 'BaseAudioContext': The 2nd argument i s neither an array, nor does it have indexed properties.". 48 PASS context.createPeriodicWave(new Float32Array(10), null) threw TypeError: " Failed to execute 'createPeriodicWave' on 'BaseAudioContext': The provided value cannot be converted to a sequence.".
49 PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100) ) did not throw an exception. 49 PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100) ) did not throw an exception.
50 PASS context.createPeriodicWave(new Float32Array(8192), new Float32Array(8192) ) did not throw an exception. 50 PASS context.createPeriodicWave(new Float32Array(8192), new Float32Array(8192) ) did not throw an exception.
51 PASS context.createPeriodicWave(new Float32Array(10000), new Float32Array(1000 0)) did not throw an exception. 51 PASS context.createPeriodicWave(new Float32Array(10000), new Float32Array(1000 0)) did not throw an exception.
52 PASS context.createPeriodicWave(new Float32Array(10), new Float32Array(7)) thr ew IndexSizeError: "Failed to execute 'createPeriodicWave' on 'BaseAudioContext' : length of real array (10) and length of imaginary array (7) must match.". 52 PASS context.createPeriodicWave(new Float32Array(10), new Float32Array(7)) thr ew IndexSizeError: "Failed to execute 'createPeriodicWave' on 'BaseAudioContext' : length of real array (10) and length of imaginary array (7) must match.".
53 PASS < [createPeriodicWave] All assertions passed. (total 6 assertions) 53 PASS < [createPeriodicWave] All assertions passed. (total 6 assertions)
54 PASS > [createAnalyser] 54 PASS > [createAnalyser]
55 PASS AnalyserNode.fftSize = 42 threw IndexSizeError: "Failed to set the 'fftSi ze' property on 'AnalyserNode': The value provided (42) is not a power of two.". 55 PASS AnalyserNode.fftSize = 42 threw IndexSizeError: "Failed to set the 'fftSi ze' property on 'AnalyserNode': The value provided (42) is not a power of two.".
56 PASS AnalyserNode.fftSize is not equal to 42. 56 PASS AnalyserNode.fftSize is not equal to 42.
57 PASS AnalyserNode.fftSize = 16 threw IndexSizeError: "Failed to set the 'fftSi ze' property on 'AnalyserNode': The FFT size provided (16) is outside the range [32, 32768].". 57 PASS AnalyserNode.fftSize = 16 threw IndexSizeError: "Failed to set the 'fftSi ze' property on 'AnalyserNode': The FFT size provided (16) is outside the range [32, 32768].".
58 PASS AnalyserNode.fftSize is not equal to 16. 58 PASS AnalyserNode.fftSize is not equal to 16.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 PASS > [channel-stuff] channelCount, channelCountMode, channelInterpretation 92 PASS > [channel-stuff] channelCount, channelCountMode, channelInterpretation
93 PASS GainNode.channelCount = 99 threw NotSupportedError: "Failed to set the 'c hannelCount' property on 'AudioNode': The channel count provided (99) is outside the range [1, 32].". 93 PASS GainNode.channelCount = 99 threw NotSupportedError: "Failed to set the 'c hannelCount' property on 'AudioNode': The channel count provided (99) is outside the range [1, 32].".
94 PASS GainNode.channelCount is not equal to 99. 94 PASS GainNode.channelCount is not equal to 99.
95 PASS node.channelCountMode = "fancy" did not throw an exception. 95 PASS node.channelCountMode = "fancy" did not throw an exception.
96 PASS node.channelCountMode is equal to max. 96 PASS node.channelCountMode is equal to max.
97 PASS node.channelInterpretation = mode did not throw an exception. 97 PASS node.channelInterpretation = mode did not throw an exception.
98 PASS node.channelInterpretation is equal to speakers. 98 PASS node.channelInterpretation is equal to speakers.
99 PASS context.destination.channelCount = 99 threw IndexSizeError: [error messag e omitted]. 99 PASS context.destination.channelCount = 99 threw IndexSizeError: [error messag e omitted].
100 PASS < [channel-stuff] All assertions passed. (total 7 assertions) 100 PASS < [channel-stuff] All assertions passed. (total 7 assertions)
101 PASS > [audioparam] 101 PASS > [audioparam]
102 PASS param.setValueCurveAtTime(null, 0, 0) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The 1st argument is neither an array, no r does it have indexed properties.". 102 PASS param.setValueCurveAtTime(null, 0, 0) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided value cannot be converted t o a sequence.".
103 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) did not throw an exceptio n. 103 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) did not throw an exceptio n.
104 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw InvalidAccessError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The float tar get value provided (0) should not be in the range (-1.40130e-45, 1.40130e-45).". 104 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw InvalidAccessError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The float tar get value provided (0) should not be in the range (-1.40130e-45, 1.40130e-45).".
105 PASS node.gain.exponentialRampToValueAtTime(1e-100, 0.1) threw InvalidAccessEr ror: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The floa t target value provided (0) should not be in the range (-1.40130e-45, 1.40130e-4 5).". 105 PASS node.gain.exponentialRampToValueAtTime(1e-100, 0.1) threw InvalidAccessEr ror: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The floa t target value provided (0) should not be in the range (-1.40130e-45, 1.40130e-4 5).".
106 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -149), 0.1) did not th row an exception. 106 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -149), 0.1) did not th row an exception.
107 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -150), 0.1) threw Inva lidAccessError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam ': The float target value provided (0) should not be in the range (-1.40130e-45, 1.40130e-45).". 107 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -150), 0.1) threw Inva lidAccessError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam ': The float target value provided (0) should not be in the range (-1.40130e-45, 1.40130e-45).".
108 PASS < [audioparam] All assertions passed. (total 6 assertions) 108 PASS < [audioparam] All assertions passed. (total 6 assertions)
109 PASS > [biquad] 109 PASS > [biquad]
110 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), new F loat32Array(1)) did not throw an exception. 110 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), new F loat32Array(1)) did not throw an exception.
111 PASS node.getFrequencyResponse(null, new Float32Array(1), new Float32Array(1)) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode ': parameter 1 is not of type 'Float32Array'.". 111 PASS node.getFrequencyResponse(null, new Float32Array(1), new Float32Array(1)) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode ': parameter 1 is not of type 'Float32Array'.".
112 PASS node.getFrequencyResponse(new Float32Array(1), null, new Float32Array(1)) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode ': parameter 2 is not of type 'Float32Array'.". 112 PASS node.getFrequencyResponse(new Float32Array(1), null, new Float32Array(1)) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode ': parameter 2 is not of type 'Float32Array'.".
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 PASS < [script-processor] All assertions passed. (total 14 assertions) 231 PASS < [script-processor] All assertions passed. (total 14 assertions)
232 PASS > [misc] Miscellaneous tests 232 PASS > [misc] Miscellaneous tests
233 PASS osc.noteOn is equal to undefined. 233 PASS osc.noteOn is equal to undefined.
234 PASS osc.noteOff is equal to undefined. 234 PASS osc.noteOff is equal to undefined.
235 PASS source.noteOn is equal to undefined. 235 PASS source.noteOn is equal to undefined.
236 PASS source.noteOff is equal to undefined. 236 PASS source.noteOff is equal to undefined.
237 PASS < [misc] All assertions passed. (total 4 assertions) 237 PASS < [misc] All assertions passed. (total 4 assertions)
238 PASS # AUDIT TASK RUNNER FINISHED: 22 tasks ran successfully. 238 PASS # AUDIT TASK RUNNER FINISHED: 22 tasks ran successfully.
239 Harness: the test ran to completion. 239 Harness: the test ran to completion.
240 240
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698