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

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

Issue 2632373003: Throw correct error when connecting to different context. (Closed)
Patch Set: Update tests Created 3 years, 11 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]..
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 PASS node.getFloatFrequencyData(null) threw exception TypeError: Failed to execu te 'getFloatFrequencyData' on 'AnalyserNode': parameter 1 is not of type 'Float3 2Array'.. 57 PASS node.getFloatFrequencyData(null) threw exception TypeError: Failed to execu te 'getFloatFrequencyData' on 'AnalyserNode': parameter 1 is not of type 'Float3 2Array'..
58 PASS node.getByteFrequencyData(null) threw exception TypeError: Failed to execut e 'getByteFrequencyData' on 'AnalyserNode': parameter 1 is not of type 'Uint8Arr ay'.. 58 PASS node.getByteFrequencyData(null) threw exception TypeError: Failed to execut e 'getByteFrequencyData' on 'AnalyserNode': parameter 1 is not of type 'Uint8Arr ay'..
59 PASS node.getFloatTimeDomainData(null) threw exception TypeError: Failed to exec ute 'getFloatTimeDomainData' on 'AnalyserNode': parameter 1 is not of type 'Floa t32Array'.. 59 PASS node.getFloatTimeDomainData(null) threw exception TypeError: Failed to exec ute 'getFloatTimeDomainData' on 'AnalyserNode': parameter 1 is not of type 'Floa t32Array'..
60 PASS node.getByteTimeDomainData(null) threw exception TypeError: Failed to execu te 'getByteTimeDomainData' on 'AnalyserNode': parameter 1 is not of type 'Uint8A rray'.. 60 PASS node.getByteTimeDomainData(null) threw exception TypeError: Failed to execu te 'getByteTimeDomainData' on 'AnalyserNode': parameter 1 is not of type 'Uint8A rray'..
61 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ). 61 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ).
62 PASS node.connect(null, 0, 0) threw exception TypeError: Failed to execute 'conn ect' on 'AudioNode': parameter 1 is not of type 'AudioNode'.. 62 PASS node.connect(null, 0, 0) threw exception TypeError: Failed to execute 'conn ect' on 'AudioNode': parameter 1 is not of type 'AudioNode'..
63 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).. 63 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)..
64 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).. 64 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)..
65 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). . 65 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). .
66 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].. 66 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]..
67 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.. 67 PASS node.connect(otherContext.destination) threw exception InvalidAccessError: Failed to execute 'connect' on 'AudioNode': cannot connect to a destination belo nging to a different audio context..
68 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].. 68 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]..
69 PASS node.channelCount is not 99 69 PASS node.channelCount is not 99
70 PASS node.channelCountMode = 'fancy' did not throw exception. 70 PASS node.channelCountMode = 'fancy' did not throw exception.
71 PASS Invalid channelCountMode value did not change mode 71 PASS Invalid channelCountMode value did not change mode
72 PASS node.channelInterpretation = mode did not throw exception. 72 PASS node.channelInterpretation = mode did not throw exception.
73 PASS Invalid channelInterpration value did not change mode 73 PASS Invalid channelInterpration value did not change mode
74 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.
75 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'..
76 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.
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'.. 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'..
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 PASS script.channelCountMode is not 'clamped-max' 184 PASS script.channelCountMode is not 'clamped-max'
185 PASS script.channelCountMode = 'junk' did not throw exception. 185 PASS script.channelCountMode = 'junk' did not throw exception.
186 PASS osc.noteOn is undefined. 186 PASS osc.noteOn is undefined.
187 PASS osc.noteOff is undefined. 187 PASS osc.noteOff is undefined.
188 PASS source.noteOn is undefined. 188 PASS source.noteOn is undefined.
189 PASS source.noteOff is undefined. 189 PASS source.noteOff is undefined.
190 PASS successfullyParsed is true 190 PASS successfullyParsed is true
191 191
192 TEST COMPLETE 192 TEST COMPLETE
193 193
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698