Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / webaudio / dom-exceptions-expected.txt
index 76e8da1..bcb454c 100644 (file)
@@ -50,14 +50,30 @@ PASS Invalid channelInterpration value did not change mode
 PASS context.destination.channelCount = 99 threw exception IndexSizeError: Failed to set the 'channelCount' property on 'AudioNode': The channel count provided (99) is outside the range [1, 2]..
 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exception.
 PASS new OfflineAudioContext(99, 100, context.sampleRate) threw exception IndexSizeError: Failed to construct 'OfflineAudioContext': The number of channels provided (99) is outside the range [0, 32]..
-PASS new OfflineAudioContext(1, 100, 1) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': sample rate (1) must be in the range 44100-96000 Hz..
-PASS new OfflineAudioContext(1, 100, 1e6) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': sample rate (1.00000e+6) must be in the range 44100-96000 Hz..
+PASS new OfflineAudioContext(1, 100, 1) threw exception IndexSizeError: Failed to construct 'OfflineAudioContext': The sampleRate provided (1) is outside the range [3000, 192000]..
+PASS new OfflineAudioContext(1, 100, 1e6) threw exception IndexSizeError: Failed to construct 'OfflineAudioContext': The sampleRate provided (1.00000e+6) is outside the range [3000, 192000]..
 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSupportedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 1448390656, 44100).
 PASS node.oversample = '9x' did not throw exception.
 PASS Invalid oversample value did not change node.oversample
 PASS source = context.createBufferSource() did not throw exception.
 PASS source.buffer = buffer did not throw exception.
+PASS source.start(-1) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -1.
+PASS source.start(Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: Infinity.
+PASS source.start(-Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: -Infinity.
+PASS source.start(NaN) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Start time must be a finite non-negative number: NaN.
+PASS source.start(1, Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: Infinity.
+PASS source.start(1, -Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: -Infinity.
+PASS source.start(1, NaN) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: NaN.
+PASS source.start(1, -1) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Offset must be a finite non-negative number: -1.
+PASS source.start(1, 1, Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative number: Infinity.
+PASS source.start(1, 1, -Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative number: -Infinity.
+PASS source.start(1, 1, NaN) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative number: NaN.
+PASS source.start(1, 1, -1) threw exception InvalidStateError: Failed to execute 'start' on 'AudioBufferSourceNode': Duration must be a finite non-negative number: -1.
 PASS source.start() did not throw exception.
+PASS source.stop(-1) threw exception InvalidStateError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: -1.
+PASS source.stop(Infinity) threw exception InvalidStateError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: Infinity.
+PASS source.stop(-Infinity) threw exception InvalidStateError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: -Infinity.
+PASS source.stop(NaN) threw exception InvalidStateError: Failed to execute 'stop' on 'AudioBufferSourceNode': Stop time must be a finite non-negative number: NaN.
 PASS source.stop() did not throw exception.
 PASS source = context.createBufferSource() did not throw exception.
 PASS source.start() did not throw exception.
@@ -73,15 +89,23 @@ PASS source.buffer = buffer did not throw exception.
 PASS source.start() did not throw exception.
 PASS source.stop() did not throw exception.
 PASS source = context.createOscillator() did not throw exception.
+PASS source.start(-1) threw exception InvalidStateError: Failed to execute 'start' on 'OscillatorNode': Start time must be a finite non-negative number: -1.
+PASS source.start(Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'OscillatorNode': Start time must be a finite non-negative number: Infinity.
+PASS source.start(-Infinity) threw exception InvalidStateError: Failed to execute 'start' on 'OscillatorNode': Start time must be a finite non-negative number: -Infinity.
+PASS source.start(NaN) threw exception InvalidStateError: Failed to execute 'start' on 'OscillatorNode': Start time must be a finite non-negative number: NaN.
 PASS source.start() did not throw exception.
+PASS source.stop(-1) threw exception InvalidStateError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: -1.
+PASS source.stop(Infinity) threw exception InvalidStateError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: Infinity.
+PASS source.stop(-Infinity) threw exception InvalidStateError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: -Infinity.
+PASS source.stop(NaN) threw exception InvalidStateError: Failed to execute 'stop' on 'OscillatorNode': Stop time must be a finite non-negative number: NaN.
 PASS source.stop() did not throw exception.
 PASS osc = context.createOscillator() did not throw exception.
 PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on 'OscillatorNode': cannot call stop without calling start first..
 PASS osc1 = context.createOscillator() did not throw exception.
 PASS osc1.start() did not throw exception.
 PASS osc1.stop() did not throw exception.
-PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidStateError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value for exponential ramp must be positive: -1.
-PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidStateError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value for exponential ramp must be positive: 0.
+PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidStateError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value must be a finite positive number: -1.
+PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidStateError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target value must be a finite positive number: 0.
 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception.
 PASS conv = oc.createConvolver() did not throw exception.
 PASS conv.buffer = oc.createBuffer(1, 100, 22050) threw exception NotSupportedError: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample rate of 22050 does not match the context rate of 44100 Hz..