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

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

Issue 1493753003: Drop [LegacyInterfaceTypeChecking] for the Web Audio API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests Created 5 years 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: The provided value 'fancy' is not a valid enum value of type Ch annelCountMode. 1 CONSOLE WARNING: The provided value 'fancy' is not a valid enum value of type Ch annelCountMode.
2 CONSOLE WARNING: The provided value 'undefined' is not a valid enum value of typ e ChannelInterpretation. 2 CONSOLE WARNING: The provided value 'undefined' is not a valid enum value of typ e ChannelInterpretation.
3 CONSOLE WARNING: The provided value '9x' is not a valid enum value of type OverS ampleType. 3 CONSOLE WARNING: The provided value '9x' is not a valid enum value of type OverS ampleType.
4 CONSOLE WARNING: The provided value 'junk' is not a valid enum value of type Cha nnelCountMode. 4 CONSOLE WARNING: The provided value 'junk' is not a valid enum value of type Cha nnelCountMode.
5 CONSOLE WARNING: The provided value 'junk' is not a valid enum value of type Cha nnelCountMode. 5 CONSOLE WARNING: The provided value 'junk' is not a valid enum value of type Cha nnelCountMode.
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 'AudioContext': The number of channe ls 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 'AudioContext': The number of channe ls provided (99) is outside the range [1, 32]..
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 PASS node.maxDecibels = -150 threw exception IndexSizeError: Failed to set the ' maxDecibels' property on 'AnalyserNode': The maxDecibels provided (-150) is less than the minimum bound (-100).. 45 PASS node.maxDecibels = -150 threw exception IndexSizeError: Failed to set the ' maxDecibels' property on 'AnalyserNode': The maxDecibels provided (-150) is less than the minimum bound (-100)..
46 PASS node.maxDecibels is not -150 46 PASS node.maxDecibels is not -150
47 PASS node.minDecibels = -30 threw exception IndexSizeError: Failed to set the 'm inDecibels' property on 'AnalyserNode': The minDecibels provided (-30) is greate r than or equal to the maximum bound (-30).. 47 PASS node.minDecibels = -30 threw exception IndexSizeError: Failed to set the 'm inDecibels' property on 'AnalyserNode': The minDecibels provided (-30) is greate r than or equal to the maximum bound (-30)..
48 PASS node.minDecibels is not -30 48 PASS node.minDecibels is not -30
49 PASS node.maxDecibels = -100 threw exception IndexSizeError: Failed to set the ' maxDecibels' property on 'AnalyserNode': The maxDecibels provided (-100) is less than or equal to the minimum bound (-100).. 49 PASS node.maxDecibels = -100 threw exception IndexSizeError: Failed to set the ' maxDecibels' property on 'AnalyserNode': The maxDecibels provided (-100) is less than or equal to the minimum bound (-100)..
50 PASS node.maxDecibels is not -100 50 PASS node.maxDecibels is not -100
51 PASS node.smoothingTimeConstant = -0.1 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': The smoothing value provided (-0.1) is outside the range [0, 1].. 51 PASS node.smoothingTimeConstant = -0.1 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': The smoothing value provided (-0.1) is outside the range [0, 1]..
52 PASS node.smoothingTimeConstant is not -0.1 52 PASS node.smoothingTimeConstant is not -0.1
53 PASS node.smoothingTimeConstant = 1.5 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': The smoothing value provided (1.5) is outside the range [0, 1].. 53 PASS node.smoothingTimeConstant = 1.5 threw exception IndexSizeError: Failed to set the 'smoothingTimeConstant' property on 'AnalyserNode': The smoothing value provided (1.5) is outside the range [0, 1]..
54 PASS node.smoothingTimeConstant is not 1.5 54 PASS node.smoothingTimeConstant is not 1.5
55 PASS node.getFloatFrequencyData(null) threw exception TypeError: Failed to execu te 'getFloatFrequencyData' on 'AnalyserNode': parameter 1 is not of type 'Float3 2Array'..
56 PASS node.getByteFrequencyData(null) threw exception TypeError: Failed to execut e 'getByteFrequencyData' on 'AnalyserNode': parameter 1 is not of type 'Uint8Arr ay'..
57 PASS node.getFloatTimeDomainData(null) threw exception TypeError: Failed to exec ute 'getFloatTimeDomainData' on 'AnalyserNode': parameter 1 is not of type 'Floa t32Array'..
58 PASS node.getByteTimeDomainData(null) threw exception TypeError: Failed to execu te 'getByteTimeDomainData' on 'AnalyserNode': parameter 1 is not of type 'Uint8A rray'..
55 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ). 59 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ).
56 PASS node.connect(null, 0, 0) threw exception TypeError: Failed to execute 'conn ect' on 'AudioNode': parameter 1 is not of type 'AudioNode'.. 60 PASS node.connect(null, 0, 0) threw exception TypeError: Failed to execute 'conn ect' on 'AudioNode': parameter 1 is not of type 'AudioNode'..
57 PASS node.connect(context.destination, 100, 0) threw exception IndexSizeError: F ailed to execute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1).. 61 PASS node.connect(context.destination, 100, 0) threw exception IndexSizeError: F ailed to execute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1)..
58 PASS node.connect(context.destination, 0, 100) threw exception IndexSizeError: F ailed to execute 'connect' on 'AudioNode': input index (100) exceeds number of i nputs (1).. 62 PASS node.connect(context.destination, 0, 100) threw exception IndexSizeError: F ailed to execute 'connect' on 'AudioNode': input index (100) exceeds number of i nputs (1)..
59 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). . 63 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). .
60 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc onnect' on 'AudioNode': The output index provided (99) is outside the range [0, 0].. 64 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc onnect' on 'AudioNode': The output index provided (99) is outside the range [0, 0]..
61 PASS node.connect(otherContext.destination) threw exception SyntaxError: Failed to execute 'connect' on 'AudioNode': cannot connect to a destination belonging t o a different audio context.. 65 PASS node.connect(otherContext.destination) threw exception SyntaxError: Failed to execute 'connect' on 'AudioNode': cannot connect to a destination belonging t o a different audio context..
62 PASS node.channelCount = 99 threw exception NotSupportedError: Failed to set the 'channelCount' property on 'AudioNode': The channel count provided (99) is outs ide the range [1, 32].. 66 PASS node.channelCount = 99 threw exception NotSupportedError: Failed to set the 'channelCount' property on 'AudioNode': The channel count provided (99) is outs ide the range [1, 32]..
63 PASS node.channelCount is not 99 67 PASS node.channelCount is not 99
64 PASS node.channelCountMode = 'fancy' did not throw exception. 68 PASS node.channelCountMode = 'fancy' did not throw exception.
65 PASS Invalid channelCountMode value did not change mode 69 PASS Invalid channelCountMode value did not change mode
66 PASS node.channelInterpretation = mode did not throw exception. 70 PASS node.channelInterpretation = mode did not throw exception.
67 PASS Invalid channelInterpration value did not change mode 71 PASS Invalid channelInterpration value did not change mode
68 PASS context.destination.channelCount = 99 threw IndexSizeError exception on inv alid channel count. 72 PASS context.destination.channelCount = 99 threw IndexSizeError exception on inv alid channel count.
73 PASS param.setValueCurveAtTime(null, 0, 0) threw exception TypeError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': parameter 1 is not of type 'Float 32Array'..
74 PASS node.getFrequencyResponse(new Float32Array(1), new Float32Array(1), new Flo at32Array(1)) did not throw exception.
75 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'..
76 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'..
77 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'..
69 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exceptio n. 78 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exceptio n.
70 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(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]..
71 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].. 80 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]..
72 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].. 81 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]..
73 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144 8390656, 44100). 82 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144 8390656, 44100).
74 PASS node.oversample = '9x' did not throw exception. 83 PASS node.oversample = '9x' did not throw exception.
75 PASS Invalid oversample value did not change node.oversample 84 PASS Invalid oversample value did not change node.oversample
85 PASS node.curve = {} threw exception TypeError: Failed to set the 'curve' proper ty on 'WaveShaperNode': The provided value is not of type 'Float32Array'..
76 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 = 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)..
77 PASS node.curve is null 87 PASS node.curve is null
78 PASS node.curve = new Float32Array(2) did not throw exception. 88 PASS node.curve = new Float32Array(2) did not throw exception.
79 PASS node.curve = null did not throw exception. 89 PASS node.curve = null did not throw exception.
80 PASS source = context.createBufferSource() did not throw exception. 90 PASS source = context.createBufferSource() did not throw exception.
81 PASS source.buffer = buffer did not throw exception. 91 PASS source.buffer = buffer did not throw exception.
82 PASS source.buffer = context.createBuffer(1, 10, context.sampleRate) threw excep tion InvalidStateError: Failed to set the 'buffer' property on 'AudioBufferSourc eNode': Cannot set buffer after it has been already been set. 92 PASS source.buffer = context.createBuffer(1, 10, context.sampleRate) threw excep tion InvalidStateError: Failed to set the 'buffer' property on 'AudioBufferSourc eNode': Cannot set buffer after it has been already been set.
83 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'AudioBufferSourceNode': The start time provided (-1) is less than the mi nimum bound (0).. 93 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'AudioBufferSourceNode': The start time provided (-1) is less than the mi nimum bound (0)..
84 PASS source.start(Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.. 94 PASS source.start(Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite..
85 PASS source.start(-Infinity) threw exception TypeError: Failed to execute 'start ' on 'AudioBufferSourceNode': The provided double value is non-finite.. 95 PASS source.start(-Infinity) threw exception TypeError: Failed to execute 'start ' on 'AudioBufferSourceNode': The provided double value is non-finite..
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 PASS source.stop(-Number.MIN_VALUE) threw exception InvalidAccessError: Failed t o execute 'stop' on 'OscillatorNode': The stop time provided (-4.94066e-324) is less than the minimum bound (0).. 138 PASS source.stop(-Number.MIN_VALUE) threw exception InvalidAccessError: Failed t o execute 'stop' on 'OscillatorNode': The stop time provided (-4.94066e-324) is less than the minimum bound (0)..
129 PASS source.stop(Infinity) threw exception TypeError: Failed to execute 'stop' o n 'OscillatorNode': The provided double value is non-finite.. 139 PASS source.stop(Infinity) threw exception TypeError: Failed to execute 'stop' o n 'OscillatorNode': The provided double value is non-finite..
130 PASS source.stop(-Infinity) threw exception TypeError: Failed to execute 'stop' on 'OscillatorNode': The provided double value is non-finite.. 140 PASS source.stop(-Infinity) threw exception TypeError: Failed to execute 'stop' on 'OscillatorNode': The provided double value is non-finite..
131 PASS source.stop(NaN) threw exception TypeError: Failed to execute 'stop' on 'Os cillatorNode': The provided double value is non-finite.. 141 PASS source.stop(NaN) threw exception TypeError: Failed to execute 'stop' on 'Os cillatorNode': The provided double value is non-finite..
132 PASS source.stop() did not throw exception. 142 PASS source.stop() did not throw exception.
133 PASS osc = context.createOscillator() did not throw exception. 143 PASS osc = context.createOscillator() did not throw exception.
134 PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on ' OscillatorNode': cannot call stop without calling start first.. 144 PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on ' OscillatorNode': cannot call stop without calling start first..
135 PASS osc1 = context.createOscillator() did not throw exception. 145 PASS osc1 = context.createOscillator() did not throw exception.
136 PASS osc1.start() did not throw exception. 146 PASS osc1.start() did not throw exception.
137 PASS osc1.stop() did not throw exception. 147 PASS osc1.stop() did not throw exception.
148 PASS osc.setPeriodicWave(null) threw exception TypeError: Failed to execute 'set PeriodicWave' on 'OscillatorNode': parameter 1 is not of type 'PeriodicWave'..
138 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidAcce ssError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The f loat target value provided (-1) is outside the range [1.40130e-45, Infinity).. 149 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidAcce ssError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The f loat target value provided (-1) is outside the range [1.40130e-45, Infinity)..
139 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidAcces sError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The fl oat target value provided (0) is outside the range [1.40130e-45, Infinity).. 150 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidAcces sError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The fl oat target value provided (0) is outside the range [1.40130e-45, Infinity)..
140 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -149), 0.1) did not thro w exception. 151 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -149), 0.1) did not thro w exception.
141 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -150), 0.1) threw except ion InvalidAccessError: Failed to execute 'exponentialRampToValueAtTime' on 'Aud ioParam': The float target value provided (0) is outside the range [1.40130e-45, Infinity).. 152 PASS node.gain.exponentialRampToValueAtTime(Math.pow(2, -150), 0.1) threw except ion InvalidAccessError: Failed to execute 'exponentialRampToValueAtTime' on 'Aud ioParam': The float target value provided (0) is outside the range [1.40130e-45, Infinity)..
142 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception. 153 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception.
143 PASS conv = oc.createConvolver() did not throw exception. 154 PASS conv = oc.createConvolver() did not throw exception.
155 PASS conv.buffer = {} threw exception TypeError: Failed to set the 'buffer' prop erty on 'ConvolverNode': The provided value is not of type 'AudioBuffer'..
144 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.. 156 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..
145 PASS conv.buffer is null 157 PASS conv.buffer is null
146 PASS panner.channelCount = 1 did not throw exception. 158 PASS panner.channelCount = 1 did not throw exception.
147 PASS panner.channelCount = 2 did not throw exception. 159 PASS panner.channelCount = 2 did not throw exception.
148 PASS panner.channelCount = 0 threw exception NotSupportedError: Failed to set th e 'channelCount' property on 'AudioNode': The channelCount provided (0) is outsi de the range [1, 2].. 160 PASS panner.channelCount = 0 threw exception NotSupportedError: Failed to set th e 'channelCount' property on 'AudioNode': The channelCount provided (0) is outsi de the range [1, 2]..
149 PASS panner.channelCount is not 0 161 PASS panner.channelCount is not 0
150 PASS panner.channelCount = 3 threw exception NotSupportedError: Failed to set th e 'channelCount' property on 'AudioNode': The channelCount provided (3) is outsi de the range [1, 2].. 162 PASS panner.channelCount = 3 threw exception NotSupportedError: Failed to set th e 'channelCount' property on 'AudioNode': The channelCount provided (3) is outsi de the range [1, 2]..
151 PASS panner.channelCount is not 3 163 PASS panner.channelCount is not 3
152 PASS panner.channelCountMode = 'max' threw exception NotSupportedError: Failed t o set the 'channelCountMode' property on 'AudioNode': Panner: 'max' is not allow ed. 164 PASS panner.channelCountMode = 'max' threw exception NotSupportedError: Failed t o set the 'channelCountMode' property on 'AudioNode': Panner: 'max' is not allow ed.
153 PASS panner.channelCountMode is not 'max' 165 PASS panner.channelCountMode is not 'max'
(...skipping 15 matching lines...) Expand all
169 PASS script.channelCountMode is not 'clamped-max' 181 PASS script.channelCountMode is not 'clamped-max'
170 PASS script.channelCountMode = 'junk' did not throw exception. 182 PASS script.channelCountMode = 'junk' did not throw exception.
171 PASS osc.noteOn is undefined. 183 PASS osc.noteOn is undefined.
172 PASS osc.noteOff is undefined. 184 PASS osc.noteOff is undefined.
173 PASS source.noteOn is undefined. 185 PASS source.noteOn is undefined.
174 PASS source.noteOff is undefined. 186 PASS source.noteOff is undefined.
175 PASS successfullyParsed is true 187 PASS successfullyParsed is true
176 188
177 TEST COMPLETE 189 TEST COMPLETE
178 190
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698