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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 PASS > [channel-stuff] channelCount, channelCountMode, channelInterpretation 96 PASS > [channel-stuff] channelCount, channelCountMode, channelInterpretation
97 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].". 97 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].".
98 PASS GainNode.channelCount is not equal to 99. 98 PASS GainNode.channelCount is not equal to 99.
99 PASS node.channelCountMode = "fancy" did not throw an exception. 99 PASS node.channelCountMode = "fancy" did not throw an exception.
100 PASS node.channelCountMode is equal to max. 100 PASS node.channelCountMode is equal to max.
101 PASS node.channelInterpretation = mode did not throw an exception. 101 PASS node.channelInterpretation = mode did not throw an exception.
102 PASS node.channelInterpretation is equal to speakers. 102 PASS node.channelInterpretation is equal to speakers.
103 PASS context.destination.channelCount = 99 threw IndexSizeError: [error messag e omitted]. 103 PASS context.destination.channelCount = 99 threw IndexSizeError: [error messag e omitted].
104 PASS < [channel-stuff] All assertions passed. (total 7 assertions) 104 PASS < [channel-stuff] All assertions passed. (total 7 assertions)
105 PASS > [audioparam] 105 PASS > [audioparam]
106 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.". 106 PASS param.setValueCurveAtTime(null, 0, 0) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided value cannot be converted t o a sequence.".
107 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) did not throw an exceptio n. 107 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) did not throw an exceptio n.
108 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).". 108 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).".
109 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).". 109 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).".
110 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -149), 0.1) did not th row an exception. 110 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -149), 0.1) did not th row an exception.
111 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).". 111 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).".
112 PASS < [audioparam] All assertions passed. (total 6 assertions) 112 PASS < [audioparam] All assertions passed. (total 6 assertions)
113 PASS > [biquad] 113 PASS > [biquad]
114 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), new F loat32Array(1)) did not throw an exception. 114 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), new F loat32Array(1)) did not throw an exception.
115 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'.". 115 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'.".
116 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'.". 116 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 PASS < [script-processor] All assertions passed. (total 14 assertions) 238 PASS < [script-processor] All assertions passed. (total 14 assertions)
239 PASS > [misc] Miscellaneous tests 239 PASS > [misc] Miscellaneous tests
240 PASS osc.noteOn is equal to undefined. 240 PASS osc.noteOn is equal to undefined.
241 PASS osc.noteOff is equal to undefined. 241 PASS osc.noteOff is equal to undefined.
242 PASS source.noteOn is equal to undefined. 242 PASS source.noteOn is equal to undefined.
243 PASS source.noteOff is equal to undefined. 243 PASS source.noteOff is equal to undefined.
244 PASS < [misc] All assertions passed. (total 4 assertions) 244 PASS < [misc] All assertions passed. (total 4 assertions)
245 PASS # AUDIT TASK RUNNER FINISHED: 22 tasks ran successfully. 245 PASS # AUDIT TASK RUNNER FINISHED: 22 tasks ran successfully.
246 Harness: the test ran to completion. 246 Harness: the test ran to completion.
247 247
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698