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

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

Issue 825603005: AudioBufferSourceNode.buffer can only be set once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use deprecation message instead of DOM error Created 5 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE WARNING: Setting AudioBufferSourceNode.buffer more than once is deprecat ed and will no longer work in M45.
1 Tests DOM exception messages 2 Tests DOM exception messages
2 3
3 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 ".
4 5
5 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]..
6 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]..
7 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]..
8 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]..
9 PASS context.createBuffer(1, 1, 3000) did not throw exception. 10 PASS context.createBuffer(1, 1, 3000) did not throw exception.
10 PASS context.createBuffer(1, 1, 192000) did not throw exception. 11 PASS context.createBuffer(1, 1, 192000) did not throw exception.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 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].. 65 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]..
65 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].. 66 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]..
66 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144 8390656, 44100). 67 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144 8390656, 44100).
67 PASS node.oversample = '9x' did not throw exception. 68 PASS node.oversample = '9x' did not throw exception.
68 PASS Invalid oversample value did not change node.oversample 69 PASS Invalid oversample value did not change node.oversample
69 PASS node.curve = new Float32Array(1) threw exception InvalidAccessError: Failed to set the 'curve' property on 'WaveShaperNode': curve length cannot be less th an 2: 1. 70 PASS node.curve = new Float32Array(1) threw exception InvalidAccessError: Failed to set the 'curve' property on 'WaveShaperNode': curve length cannot be less th an 2: 1.
70 PASS node.curve is null 71 PASS node.curve is null
71 PASS node.curve = new Float32Array(2) did not throw exception. 72 PASS node.curve = new Float32Array(2) did not throw exception.
72 PASS source = context.createBufferSource() did not throw exception. 73 PASS source = context.createBufferSource() did not throw exception.
73 PASS source.buffer = buffer did not throw exception. 74 PASS source.buffer = buffer did not throw exception.
75 PASS source.buffer = context.createBuffer(1, 10, context.sampleRate) did not thr ow exception.
74 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -1. 76 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -1.
75 PASS source.start(Infinity) threw exception InvalidAccessError: Failed to execut e 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative n umber: Infinity. 77 PASS source.start(Infinity) threw exception InvalidAccessError: Failed to execut e 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative n umber: Infinity.
76 PASS source.start(-Infinity) threw exception InvalidAccessError: Failed to execu te 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -Infinity. 78 PASS source.start(-Infinity) threw exception InvalidAccessError: Failed to execu te 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -Infinity.
77 PASS source.start(NaN) threw exception InvalidAccessError: Failed to execute 'st art' on 'AudioBufferSourceNode': Start time must be a finite non-negative number : NaN. 79 PASS source.start(NaN) threw exception InvalidAccessError: Failed to execute 'st art' on 'AudioBufferSourceNode': Start time must be a finite non-negative number : NaN.
78 PASS source.start(1, Infinity) threw exception InvalidStateError: Failed to exec ute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative num ber: Infinity. 80 PASS source.start(1, Infinity) threw exception InvalidStateError: Failed to exec ute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative num ber: Infinity.
79 PASS source.start(1, -Infinity) threw exception InvalidStateError: Failed to exe cute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative nu mber: -Infinity. 81 PASS source.start(1, -Infinity) threw exception InvalidStateError: Failed to exe cute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative nu mber: -Infinity.
80 PASS source.start(1, NaN) threw exception InvalidStateError: Failed to execute ' start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: NaN. 82 PASS source.start(1, NaN) threw exception InvalidStateError: Failed to execute ' start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: NaN.
81 PASS source.start(1, -1) threw exception InvalidStateError: Failed to execute 's tart' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: - 1. 83 PASS source.start(1, -1) threw exception InvalidStateError: Failed to execute 's tart' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: - 1.
82 PASS source.start(1, 1, Infinity) threw exception InvalidStateError: Failed to e xecute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negativ e number: Infinity. 84 PASS source.start(1, 1, Infinity) threw exception InvalidStateError: Failed to e xecute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negativ e number: Infinity.
83 PASS source.start(1, 1, -Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negati ve number: -Infinity. 85 PASS source.start(1, 1, -Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negati ve number: -Infinity.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 PASS script.channelCountMode is not 'clamped-max' 151 PASS script.channelCountMode is not 'clamped-max'
150 PASS script.channelCountMode = 'junk' did not throw exception. 152 PASS script.channelCountMode = 'junk' did not throw exception.
151 PASS osc.noteOn is undefined. 153 PASS osc.noteOn is undefined.
152 PASS osc.noteOff is undefined. 154 PASS osc.noteOff is undefined.
153 PASS source.noteOn is undefined. 155 PASS source.noteOn is undefined.
154 PASS source.noteOff is undefined. 156 PASS source.noteOff is undefined.
155 PASS successfullyParsed is true 157 PASS successfullyParsed is true
156 158
157 TEST COMPLETE 159 TEST COMPLETE
158 160
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698