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

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

Issue 2656993002: Throw TypeError instead of InvalidAccessError for invalid times (Closed)
Patch Set: Address review comments and clang-format it Created 3 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html » ('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: line 347: 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 353: 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 504: 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 748: 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 779: 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.
11 PASS < [initialize] All assertions passed. (total 2 assertions) 11 PASS < [initialize] All assertions passed. (total 2 assertions)
12 PASS > [createBuffer] 12 PASS > [createBuffer]
13 PASS context.createBuffer(99, 1, context.sampleRate) threw NotSupportedError: "Failed to execute 'createBuffer' on 'BaseAudioContext': The number of channels provided (99) is outside the range [1, 32].". 13 PASS context.createBuffer(99, 1, context.sampleRate) threw NotSupportedError: "Failed to execute 'createBuffer' on 'BaseAudioContext': The number of channels provided (99) is outside the range [1, 32].".
14 PASS context.createBuffer(0, 1, context.sampleRate) threw NotSupportedError: " Failed to execute 'createBuffer' on 'BaseAudioContext': The number of channels p rovided (0) is outside the range [1, 32].". 14 PASS context.createBuffer(0, 1, context.sampleRate) threw NotSupportedError: " Failed to execute 'createBuffer' on 'BaseAudioContext': The number of channels p rovided (0) is outside the range [1, 32].".
15 PASS context.createBuffer(1, 1, 1) threw NotSupportedError: "Failed to execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (1) is outside t he range [3000, 384000].". 15 PASS context.createBuffer(1, 1, 1) threw NotSupportedError: "Failed to execute 'createBuffer' on 'BaseAudioContext': The sample rate provided (1) is outside t he range [3000, 384000].".
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 provided value cannot be converted t o a sequence.". 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 RangeError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The float target valu e 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 RangeError: "Fa iled to execute 'exponentialRampToValueAtTime' on 'AudioParam': The float target value provided (0) should not be in the range (-1.40130e-45, 1.40130e-45).".
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 Rang eError: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The f loat target value provided (0) should not be in the range (-1.40130e-45, 1.40130 e-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'.".
117 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), null) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode ': parameter 3 is not of type 'Float32Array'.". 117 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), null) threw TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode ': parameter 3 is not of type 'Float32Array'.".
118 PASS node.getFrequencyResponse(shared_view, nonshared_view, nonshared_view) th rew TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': The provided ArrayBufferView value must not be shared.". 118 PASS node.getFrequencyResponse(shared_view, nonshared_view, nonshared_view) th rew TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': The provided ArrayBufferView value must not be shared.".
119 PASS node.getFrequencyResponse(nonshared_view, shared_view, nonshared_view) th rew TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': The provided ArrayBufferView value must not be shared.". 119 PASS node.getFrequencyResponse(nonshared_view, shared_view, nonshared_view) th rew TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': The provided ArrayBufferView value must not be shared.".
120 PASS node.getFrequencyResponse(nonshared_view, nonshared_view, shared_view) th rew TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': The provided ArrayBufferView value must not be shared.". 120 PASS node.getFrequencyResponse(nonshared_view, nonshared_view, shared_view) th rew TypeError: "Failed to execute 'getFrequencyResponse' on 'BiquadFilterNode': The provided ArrayBufferView value must not be shared.".
121 PASS < [biquad] All assertions passed. (total 7 assertions) 121 PASS < [biquad] All assertions passed. (total 7 assertions)
(...skipping 116 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698