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

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: 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 Tests DOM exception messages 1 Tests DOM exception messages
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
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].. 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(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].. 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(1, 1, 1) threw exception NotSupportedError: Failed to execute 'createBuffer' on 'AudioContext': The sample rate provided (1) is outsid e the range [3000, 192000].. 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, 1e6) threw exception NotSupportedError: Failed t o execute 'createBuffer' on 'AudioContext': The sample rate provided (1.00000e+6 ) is outside 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, 3000) did not throw exception. 9 PASS context.createBuffer(1, 1, 3000) did not throw exception.
10 PASS context.createBuffer(1, 1, 192000) did not throw exception. 10 PASS context.createBuffer(1, 1, 192000) did not throw exception.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 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].. 52 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]..
53 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].. 53 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]..
54 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].. 54 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]..
55 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144 8390656, 44100). 55 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144 8390656, 44100).
56 PASS node.oversample = '9x' did not throw exception. 56 PASS node.oversample = '9x' did not throw exception.
57 PASS Invalid oversample value did not change node.oversample 57 PASS Invalid oversample value did not change node.oversample
58 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. 58 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.
59 PASS node.curve = new Float32Array(2) did not throw exception. 59 PASS node.curve = new Float32Array(2) did not throw exception.
60 PASS source = context.createBufferSource() did not throw exception. 60 PASS source = context.createBufferSource() did not throw exception.
61 PASS source.buffer = buffer did not throw exception. 61 PASS source.buffer = buffer did not throw exception.
62 PASS source.buffer = buffer threw exception InvalidStateError: Failed to set the 'buffer' property on 'AudioBufferSourceNode': buffer can only be set once..
hongchan 2015/01/16 23:42:09 I have noticed this problem in other places: some
Raymond Toy 2015/01/20 18:06:00 Done.
62 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -1. 63 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -1.
63 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. 64 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.
64 PASS source.start(-Infinity) threw exception InvalidAccessError: Failed to execu te 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -Infinity. 65 PASS source.start(-Infinity) threw exception InvalidAccessError: Failed to execu te 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -Infinity.
65 PASS source.start(NaN) threw exception InvalidAccessError: Failed to execute 'st art' on 'AudioBufferSourceNode': Start time must be a finite non-negative number : NaN. 66 PASS source.start(NaN) threw exception InvalidAccessError: Failed to execute 'st art' on 'AudioBufferSourceNode': Start time must be a finite non-negative number : NaN.
66 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. 67 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.
67 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. 68 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.
68 PASS source.start(1, NaN) threw exception InvalidStateError: Failed to execute ' start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: NaN. 69 PASS source.start(1, NaN) threw exception InvalidStateError: Failed to execute ' start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: NaN.
69 PASS source.start(1, -1) threw exception InvalidStateError: Failed to execute 's tart' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: - 1. 70 PASS source.start(1, -1) threw exception InvalidStateError: Failed to execute 's tart' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: - 1.
70 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. 71 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.
71 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. 72 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 PASS script.channelCountMode = 'clamped-max' threw exception NotSupportedError: Failed to set the 'channelCountMode' property on 'AudioNode': channelCountMode c annot be changed from 'explicit' to 'clamped-max'. 131 PASS script.channelCountMode = 'clamped-max' threw exception NotSupportedError: Failed to set the 'channelCountMode' property on 'AudioNode': channelCountMode c annot be changed from 'explicit' to 'clamped-max'.
131 PASS script.channelCountMode = 'junk' did not throw exception. 132 PASS script.channelCountMode = 'junk' did not throw exception.
132 PASS osc.noteOn is undefined. 133 PASS osc.noteOn is undefined.
133 PASS osc.noteOff is undefined. 134 PASS osc.noteOff is undefined.
134 PASS source.noteOn is undefined. 135 PASS source.noteOn is undefined.
135 PASS source.noteOff is undefined. 136 PASS source.noteOff is undefined.
136 PASS successfullyParsed is true 137 PASS successfullyParsed is true
137 138
138 TEST COMPLETE 139 TEST COMPLETE
139 140
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698