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

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

Issue 927333004: Add [TypeChecking=Unrestricted] to Web Audio interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 PASS node.oversample = '9x' did not throw exception. 71 PASS node.oversample = '9x' did not throw exception.
72 PASS Invalid oversample value did not change node.oversample 72 PASS Invalid oversample value did not change node.oversample
73 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. 73 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.
74 PASS node.curve is null 74 PASS node.curve is null
75 PASS node.curve = new Float32Array(2) did not throw exception. 75 PASS node.curve = new Float32Array(2) did not throw exception.
76 PASS node.curve = null did not throw exception. 76 PASS node.curve = null did not throw exception.
77 PASS source = context.createBufferSource() did not throw exception. 77 PASS source = context.createBufferSource() did not throw exception.
78 PASS source.buffer = buffer did not throw exception. 78 PASS source.buffer = buffer did not throw exception.
79 PASS source.buffer = context.createBuffer(1, 10, context.sampleRate) did not thr ow exception. 79 PASS source.buffer = context.createBuffer(1, 10, context.sampleRate) did not thr ow exception.
80 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -1. 80 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -1.
81 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. 81 PASS source.start(Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite..
82 PASS source.start(-Infinity) threw exception InvalidAccessError: Failed to execu te 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -Infinity. 82 PASS source.start(-Infinity) threw exception TypeError: Failed to execute 'start ' on 'AudioBufferSourceNode': The provided double value is non-finite..
83 PASS source.start(NaN) threw exception InvalidAccessError: Failed to execute 'st art' on 'AudioBufferSourceNode': Start time must be a finite non-negative number : NaN. 83 PASS source.start(NaN) threw exception TypeError: Failed to execute 'start' on ' AudioBufferSourceNode': The provided double value is non-finite..
84 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. 84 PASS source.start(1, Infinity) threw exception TypeError: Failed to execute 'sta rt' on 'AudioBufferSourceNode': The provided double value is non-finite..
85 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. 85 PASS source.start(1, -Infinity) threw exception TypeError: Failed to execute 'st art' on 'AudioBufferSourceNode': The provided double value is non-finite..
86 PASS source.start(1, NaN) threw exception InvalidStateError: Failed to execute ' start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: NaN. 86 PASS source.start(1, NaN) threw exception TypeError: Failed to execute 'start' o n 'AudioBufferSourceNode': The provided double value is non-finite..
87 PASS source.start(1, -1) threw exception InvalidStateError: Failed to execute 's tart' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: - 1. 87 PASS source.start(1, -1) threw exception InvalidStateError: Failed to execute 's tart' on 'AudioBufferSourceNode': Offset must be a non-negative number: -1.
88 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. 88 PASS source.start(1, 1, Infinity) threw exception TypeError: Failed to execute ' start' on 'AudioBufferSourceNode': The provided double value is non-finite..
89 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. 89 PASS source.start(1, 1, -Infinity) threw exception TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite..
90 PASS source.start(1, 1, NaN) threw exception InvalidStateError: Failed to execut e 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative num ber: NaN. 90 PASS source.start(1, 1, NaN) threw exception TypeError: Failed to execute 'start ' on 'AudioBufferSourceNode': The provided double value is non-finite..
91 PASS source.start(1, 1, -1) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative numb er: -1. 91 PASS source.start(1, 1, -1) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a non-negative number: -1.
92 PASS source.start() did not throw exception. 92 PASS source.start() did not throw exception.
93 PASS source.stop(-1) threw exception InvalidAccessError: Failed to execute 'stop ' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: -1 . 93 PASS source.stop(-1) threw exception InvalidAccessError: Failed to execute 'stop ' on 'AudioBufferSourceNode': Stop time must be a non-negative number: -1.
94 PASS source.stop(Infinity) threw exception InvalidAccessError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative numb er: Infinity. 94 PASS source.stop(Infinity) threw exception TypeError: Failed to execute 'stop' o n 'AudioBufferSourceNode': The provided double value is non-finite..
95 PASS source.stop(-Infinity) threw exception InvalidAccessError: Failed to execut e 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative num ber: -Infinity. 95 PASS source.stop(-Infinity) threw exception TypeError: Failed to execute 'stop' on 'AudioBufferSourceNode': The provided double value is non-finite..
96 PASS source.stop(NaN) threw exception InvalidAccessError: Failed to execute 'sto p' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: N aN. 96 PASS source.stop(NaN) threw exception TypeError: Failed to execute 'stop' on 'Au dioBufferSourceNode': The provided double value is non-finite..
97 PASS source.stop() did not throw exception. 97 PASS source.stop() did not throw exception.
98 PASS source = context.createBufferSource() did not throw exception. 98 PASS source = context.createBufferSource() did not throw exception.
99 PASS source.start() did not throw exception. 99 PASS source.start() did not throw exception.
100 PASS source = context.createBufferSource() did not throw exception. 100 PASS source = context.createBufferSource() did not throw exception.
101 PASS source.buffer = buffer did not throw exception. 101 PASS source.buffer = buffer did not throw exception.
102 PASS source.stop() threw exception InvalidStateError: Failed to execute 'stop' o n 'AudioBufferSourceNode': cannot call stop without calling start first.. 102 PASS source.stop() threw exception InvalidStateError: Failed to execute 'stop' o n 'AudioBufferSourceNode': cannot call stop without calling start first..
103 PASS source = context.createBufferSource() did not throw exception. 103 PASS source = context.createBufferSource() did not throw exception.
104 PASS source.buffer = buffer did not throw exception. 104 PASS source.buffer = buffer did not throw exception.
105 PASS source.start() did not throw exception. 105 PASS source.start() did not throw exception.
106 PASS source.start() threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': cannot call start more than once.. 106 PASS source.start() threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': cannot call start more than once..
107 PASS source = context.createBufferSource() did not throw exception. 107 PASS source = context.createBufferSource() did not throw exception.
108 PASS source.buffer = buffer did not throw exception. 108 PASS source.buffer = buffer did not throw exception.
109 PASS source.start() did not throw exception. 109 PASS source.start() did not throw exception.
110 PASS source.stop() did not throw exception. 110 PASS source.stop() did not throw exception.
111 PASS source = context.createOscillator() did not throw exception. 111 PASS source = context.createOscillator() did not throw exception.
112 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'OscillatorNode': Start time must be a finite non-negative number: -1. 112 PASS source.start(-1) threw exception InvalidAccessError: Failed to execute 'sta rt' on 'OscillatorNode': Start time must be a finite non-negative number: -1.
113 PASS source.start(Infinity) threw exception InvalidAccessError: Failed to execut e 'start' on 'OscillatorNode': Start time must be a finite non-negative number: Infinity. 113 PASS source.start(Infinity) threw exception TypeError: Failed to execute 'start' on 'OscillatorNode': The provided double value is non-finite..
114 PASS source.start(-Infinity) threw exception InvalidAccessError: Failed to execu te 'start' on 'OscillatorNode': Start time must be a finite non-negative number: -Infinity. 114 PASS source.start(-Infinity) threw exception TypeError: Failed to execute 'start ' on 'OscillatorNode': The provided double value is non-finite..
115 PASS source.start(NaN) threw exception InvalidAccessError: Failed to execute 'st art' on 'OscillatorNode': Start time must be a finite non-negative number: NaN. 115 PASS source.start(NaN) threw exception TypeError: Failed to execute 'start' on ' OscillatorNode': The provided double value is non-finite..
116 PASS source.start() did not throw exception. 116 PASS source.start() did not throw exception.
117 PASS source.stop(-1) threw exception InvalidAccessError: Failed to execute 'stop ' on 'OscillatorNode': Stop time must be a finite non-negative number: -1. 117 PASS source.stop(-1) threw exception InvalidAccessError: Failed to execute 'stop ' on 'OscillatorNode': Stop time must be a non-negative number: -1.
118 PASS source.stop(Infinity) threw exception InvalidAccessError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: Inf inity. 118 PASS source.stop(Infinity) threw exception TypeError: Failed to execute 'stop' o n 'OscillatorNode': The provided double value is non-finite..
119 PASS source.stop(-Infinity) threw exception InvalidAccessError: Failed to execut e 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: -I nfinity. 119 PASS source.stop(-Infinity) threw exception TypeError: Failed to execute 'stop' on 'OscillatorNode': The provided double value is non-finite..
120 PASS source.stop(NaN) threw exception InvalidAccessError: Failed to execute 'sto p' on 'OscillatorNode': Stop time must be a finite non-negative number: NaN. 120 PASS source.stop(NaN) threw exception TypeError: Failed to execute 'stop' on 'Os cillatorNode': The provided double value is non-finite..
121 PASS source.stop() did not throw exception. 121 PASS source.stop() did not throw exception.
122 PASS osc = context.createOscillator() did not throw exception. 122 PASS osc = context.createOscillator() did not throw exception.
123 PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on ' OscillatorNode': cannot call stop without calling start first.. 123 PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on ' OscillatorNode': cannot call stop without calling start first..
124 PASS osc1 = context.createOscillator() did not throw exception. 124 PASS osc1 = context.createOscillator() did not throw exception.
125 PASS osc1.start() did not throw exception. 125 PASS osc1.start() did not throw exception.
126 PASS osc1.stop() did not throw exception. 126 PASS osc1.stop() did not throw exception.
127 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidAcce ssError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Targe t value must be a finite positive number: -1. 127 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidAcce ssError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Targe t value must be a finite positive number: -1.
128 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidAcces sError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value must be a finite positive number: 0. 128 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidAcces sError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value must be a finite positive number: 0.
129 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception. 129 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception.
130 PASS conv = oc.createConvolver() did not throw exception. 130 PASS conv = oc.createConvolver() did not throw exception.
(...skipping 24 matching lines...) Expand all
155 PASS script.channelCountMode is not 'clamped-max' 155 PASS script.channelCountMode is not 'clamped-max'
156 PASS script.channelCountMode = 'junk' did not throw exception. 156 PASS script.channelCountMode = 'junk' did not throw exception.
157 PASS osc.noteOn is undefined. 157 PASS osc.noteOn is undefined.
158 PASS osc.noteOff is undefined. 158 PASS osc.noteOff is undefined.
159 PASS source.noteOn is undefined. 159 PASS source.noteOn is undefined.
160 PASS source.noteOff is undefined. 160 PASS source.noteOff is undefined.
161 PASS successfullyParsed is true 161 PASS successfullyParsed is true
162 162
163 TEST COMPLETE 163 TEST COMPLETE
164 164
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/delaynode-maxdelaylimit-expected.txt ('k') | Source/modules/webaudio/AnalyserNode.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698