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

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

Issue 886173004: Fix AudioNode.disconnect() to support selective disconnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added comments and fixed exception messages Created 5 years, 10 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: Setting AudioBufferSourceNode.buffer more than once is deprecat ed and will no longer work in Chrome 43. 1 CONSOLE WARNING: Setting AudioBufferSourceNode.buffer more than once is deprecat ed and will no longer work in Chrome 43.
2 Tests DOM exception messages 2 Tests DOM exception messages
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 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].. 6 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]..
7 PASS context.createBuffer(0, 1, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': The number of channel s provided (0) is outside the range [1, 32].. 7 PASS context.createBuffer(0, 1, context.sampleRate) threw exception NotSupported Error: Failed to execute 'createBuffer' on 'AudioContext': The number of channel s provided (0) is outside the range [1, 32]..
8 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': The sample rate provided (1) is outsid e the range [3000, 192000].. 8 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': The sample rate provided (1) is outsid e the range [3000, 192000]..
9 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'AudioContext': The sample rate provided (1.00000e+6 ) is outside the range [3000, 192000].. 9 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'AudioContext': The sample rate provided (1.00000e+6 ) is outside the range [3000, 192000]..
10 PASS context.createBuffer(1, 1, 3000) did not throw exception. 10 PASS context.createBuffer(1, 1, 3000) did not throw exception.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 PASS node.maxDecibels is not -100 44 PASS node.maxDecibels is not -100
45 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].. 45 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]..
46 PASS node.smoothingTimeConstant is not -0.1 46 PASS node.smoothingTimeConstant is not -0.1
47 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].. 47 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]..
48 PASS node.smoothingTimeConstant is not 1.5 48 PASS node.smoothingTimeConstant is not 1.5
49 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ). 49 PASS node.getChannelData(2) threw exception IndexSizeError: Failed to execute 'g etChannelData' on 'AudioBuffer': channel index (2) exceeds number of channels (1 ).
50 PASS node.connect(null, 0, 0) threw exception TypeError: Failed to execute 'conn ect' on 'AudioNode': parameter 1 is not of type 'AudioNode'.. 50 PASS node.connect(null, 0, 0) threw exception TypeError: Failed to execute 'conn ect' on 'AudioNode': parameter 1 is not of type 'AudioNode'..
51 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).. 51 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)..
52 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).. 52 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)..
53 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). . 53 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1). .
54 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc onnect' on 'AudioNode': output index (99) exceeds number of outputs (1).. 54 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc onnect' on 'AudioNode': The output provided (99) is outside the range [0, 1]..
55 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.. 55 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..
56 PASS node.channelCount = 99 threw exception NotSupportedError: Failed to set the 'channelCount' property on 'AudioNode': channel count (99) must be between 1 an d 32.. 56 PASS node.channelCount = 99 threw exception NotSupportedError: Failed to set the 'channelCount' property on 'AudioNode': channel count (99) must be between 1 an d 32..
57 PASS node.channelCount is not 99 57 PASS node.channelCount is not 99
58 PASS node.channelCountMode = 'fancy' did not throw exception. 58 PASS node.channelCountMode = 'fancy' did not throw exception.
59 PASS Invalid channelCountMode value did not change mode 59 PASS Invalid channelCountMode value did not change mode
60 PASS node.channelInterpretation = mode did not throw exception. 60 PASS node.channelInterpretation = mode did not throw exception.
61 PASS Invalid channelInterpration value did not change mode 61 PASS Invalid channelInterpration value did not change mode
62 PASS context.destination.channelCount = 99 threw IndexSizeError exception on inv alid channel count. 62 PASS context.destination.channelCount = 99 threw IndexSizeError exception on inv alid channel count.
63 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exceptio n. 63 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exceptio n.
64 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].. 64 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]..
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 PASS script.channelCountMode is not 'clamped-max' 152 PASS script.channelCountMode is not 'clamped-max'
153 PASS script.channelCountMode = 'junk' did not throw exception. 153 PASS script.channelCountMode = 'junk' did not throw exception.
154 PASS osc.noteOn is undefined. 154 PASS osc.noteOn is undefined.
155 PASS osc.noteOff is undefined. 155 PASS osc.noteOff is undefined.
156 PASS source.noteOn is undefined. 156 PASS source.noteOn is undefined.
157 PASS source.noteOff is undefined. 157 PASS source.noteOff is undefined.
158 PASS successfullyParsed is true 158 PASS successfullyParsed is true
159 159
160 TEST COMPLETE 160 TEST COMPLETE
161 161
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698