OLD | NEW |
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': requested number of
channels (99) exceeds maximum (32). | 5 PASS context.createBuffer(99, 1, context.sampleRate) threw exception NotSupporte
dError: Failed to execute 'createBuffer' on 'AudioContext': requested number of
channels (99) exceeds maximum (32). |
6 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to
execute 'createBuffer' on 'AudioContext': requested sample rate (1) does not lie
in the allowed range of 22050-96000 Hz. | 6 PASS context.createBuffer(1, 1, 1) threw exception NotSupportedError: Failed to
execute 'createBuffer' on 'AudioContext': requested sample rate (1) does not lie
in the allowed range of 22050-96000 Hz. |
7 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t
o execute 'createBuffer' on 'AudioContext': requested sample rate (1.00000e+6) d
oes not lie in the allowed range of 22050-96000 Hz. | 7 PASS context.createBuffer(1, 1, 1e6) threw exception NotSupportedError: Failed t
o execute 'createBuffer' on 'AudioContext': requested sample rate (1.00000e+6) d
oes not lie in the allowed range of 22050-96000 Hz. |
8 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported
Error: Failed to execute 'createBuffer' on 'AudioContext': number of frames must
be greater than 0.. | 8 PASS context.createBuffer(1, 0, context.sampleRate) threw exception NotSupported
Error: Failed to execute 'createBuffer' on 'AudioContext': number of frames must
be greater than 0.. |
9 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxErro
r: Failed to execute 'createBuffer' on 'AudioContext': invalid audio data in Arr
ayBuffer.. | 9 PASS context.createBuffer(new ArrayBuffer(100), true) threw exception SyntaxErro
r: Failed to execute 'createBuffer' on 'AudioContext': invalid audio data in Arr
ayBuffer.. |
10 PASS context.decodeAudioData(null, function() {}, function () {}) threw exceptio
n SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid Ar
rayBuffer for audioData.. | 10 PASS context.decodeAudioData(null, function() {}, function () {}) threw exceptio
n SyntaxError: Failed to execute 'decodeAudioData' on 'AudioContext': invalid Ar
rayBuffer for audioData.. |
(...skipping 23 matching lines...) Expand all Loading... |
34 PASS node.connect(null, 0, 0) threw exception SyntaxError: Failed to execute 'co
nnect' on 'AudioNode': invalid destination node.. | 34 PASS node.connect(null, 0, 0) threw exception SyntaxError: Failed to execute 'co
nnect' on 'AudioNode': invalid destination node.. |
35 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).. | 35 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).. |
36 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).. | 36 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).. |
37 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe
cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1).
. | 37 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe
cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1).
. |
38 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc
onnect' on 'AudioNode': output index (99) exceeds number of outputs (1).. | 38 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc
onnect' on 'AudioNode': output index (99) exceeds number of outputs (1).. |
39 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.. | 39 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.. |
40 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.. | 40 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.. |
41 PASS node.channelCountMode = mode threw exception InvalidStateError: Failed to s
et the 'channelCountMode' property on 'AudioNode': invalid mode 'fancy'; must be
'max', 'clamped-max', or 'explicit'.. | 41 PASS node.channelCountMode = mode threw exception InvalidStateError: Failed to s
et the 'channelCountMode' property on 'AudioNode': invalid mode 'fancy'; must be
'max', 'clamped-max', or 'explicit'.. |
42 PASS node.channelInterpretation = mode threw exception InvalidStateError: Failed
to set the 'channelInterpretation' property on 'AudioNode': invalid interpretat
ion 'fancy'; must be 'speakers' or 'discrete'.. | 42 PASS node.channelInterpretation = mode threw exception InvalidStateError: Failed
to set the 'channelInterpretation' property on 'AudioNode': invalid interpretat
ion 'fancy'; must be 'speakers' or 'discrete'.. |
43 PASS context.destination.channelCount = 99 threw exception IndexSizeError: Faile
d to set the 'channelCount' property on 'AudioNode': The channel count provided
(99) is outside the range [1, 2].. | 43 PASS context.destination.channelCount = 99 threw exception IndexSizeError: Faile
d to set the 'channelCount' property on 'AudioNode': The channel count provided
(99) is outside the range [1, 2].. |
44 PASS new webkitOfflineAudioContext(99, 100, context.sampleRate) threw exception
SyntaxError: Failed to construct 'OfflineAudioContext': number of channels (99)
exceeds maximum (10).. | 44 PASS new OfflineAudioContext(99, 100, context.sampleRate) threw exception Syntax
Error: Failed to construct 'OfflineAudioContext': number of channels (99) exceed
s maximum (10).. |
45 PASS new webkitOfflineAudioContext(1, 100, 1) threw exception SyntaxError: Faile
d to construct 'OfflineAudioContext': sample rate (1) must be in the range 44100
-96000 Hz.. | 45 PASS new OfflineAudioContext(1, 100, 1) threw exception SyntaxError: Failed to c
onstruct 'OfflineAudioContext': sample rate (1) must be in the range 44100-96000
Hz.. |
46 PASS new webkitOfflineAudioContext(1, 100, 1e6) threw exception SyntaxError: Fai
led to construct 'OfflineAudioContext': sample rate (1.00000e+6) must be in the
range 44100-96000 Hz.. | 46 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.. |
47 PASS new webkitOfflineAudioContext(1, -88200000000000, 44100) threw exception No
tSupportedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(
1, 1448390656, 44100). | 47 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo
rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144
8390656, 44100). |
48 PASS node.oversample = '9x' threw exception InvalidStateError: Failed to set the
'oversample' property on 'WaveShaperNode': The value provided ('9x') is not one
of 'none', '2x', or '4x'.. | 48 PASS node.oversample = '9x' threw exception InvalidStateError: Failed to set the
'oversample' property on 'WaveShaperNode': The value provided ('9x') is not one
of 'none', '2x', or '4x'.. |
49 PASS source = context.createBufferSource() did not throw exception. | 49 PASS source = context.createBufferSource() did not throw exception. |
50 PASS source.buffer = buffer did not throw exception. | 50 PASS source.buffer = buffer did not throw exception. |
51 PASS source.start() did not throw exception. | 51 PASS source.start() did not throw exception. |
52 PASS source.stop() did not throw exception. | 52 PASS source.stop() did not throw exception. |
53 PASS source = context.createBufferSource() did not throw exception. | 53 PASS source = context.createBufferSource() did not throw exception. |
54 PASS source.start() did not throw exception. | 54 PASS source.start() did not throw exception. |
55 PASS source = context.createBufferSource() did not throw exception. | 55 PASS source = context.createBufferSource() did not throw exception. |
56 PASS source.buffer = buffer did not throw exception. | 56 PASS source.buffer = buffer did not throw exception. |
57 PASS source.stop() threw exception InvalidStateError: Failed to execute 'stop' o
n 'AudioBufferSourceNode': cannot call stop without calling start first.. | 57 PASS source.stop() threw exception InvalidStateError: Failed to execute 'stop' o
n 'AudioBufferSourceNode': cannot call stop without calling start first.. |
58 PASS source = context.createBufferSource() did not throw exception. | 58 PASS source = context.createBufferSource() did not throw exception. |
59 PASS source.buffer = buffer did not throw exception. | 59 PASS source.buffer = buffer did not throw exception. |
60 PASS source.start() did not throw exception. | 60 PASS source.start() did not throw exception. |
61 PASS source.start() threw exception InvalidStateError: Failed to execute 'start'
on 'AudioBufferSourceNode': cannot call start more than once.. | 61 PASS source.start() threw exception InvalidStateError: Failed to execute 'start'
on 'AudioBufferSourceNode': cannot call start more than once.. |
62 PASS source = context.createBufferSource() did not throw exception. | 62 PASS source = context.createBufferSource() did not throw exception. |
63 PASS source.buffer = buffer did not throw exception. | 63 PASS source.buffer = buffer did not throw exception. |
64 PASS source.start() did not throw exception. | 64 PASS source.start() did not throw exception. |
65 PASS source.stop() did not throw exception. | 65 PASS source.stop() did not throw exception. |
66 PASS source = context.createOscillator() did not throw exception. | 66 PASS source = context.createOscillator() did not throw exception. |
67 PASS source.start() did not throw exception. | 67 PASS source.start() did not throw exception. |
68 PASS source.stop() did not throw exception. | 68 PASS source.stop() did not throw exception. |
69 PASS osc = context.createOscillator() did not throw exception. | 69 PASS osc = context.createOscillator() did not throw exception. |
70 PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on '
OscillatorNode': cannot call stop without calling start first.. | 70 PASS osc.stop() threw exception InvalidStateError: Failed to execute 'stop' on '
OscillatorNode': cannot call stop without calling start first.. |
71 PASS osc1 = context.createOscillator() did not throw exception. | 71 PASS osc1 = context.createOscillator() did not throw exception. |
72 PASS osc1.start() did not throw exception. | 72 PASS osc1.start() did not throw exception. |
73 PASS osc1.stop() did not throw exception. | 73 PASS osc1.stop() did not throw exception. |
74 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidStat
eError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target
value for exponential ramp must be positive: -1. | 74 PASS node.gain.exponentialRampToValueAtTime(-1, 0.1) threw exception InvalidStat
eError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target
value for exponential ramp must be positive: -1. |
75 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidState
Error: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target
value for exponential ramp must be positive: 0. | 75 PASS node.gain.exponentialRampToValueAtTime(0, 0.1) threw exception InvalidState
Error: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': Target
value for exponential ramp must be positive: 0. |
76 PASS oc = new webkitOfflineAudioContext(1, 44100, 44100) did not throw exception
. | 76 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception. |
77 PASS conv = oc.createConvolver() did not throw exception. | 77 PASS conv = oc.createConvolver() did not throw exception. |
78 PASS conv.buffer = oc.createBuffer(1, 100, 22050) threw exception NotSupportedEr
ror: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample r
ate of 22050 does not match the context rate of 44100 Hz.. | 78 PASS conv.buffer = oc.createBuffer(1, 100, 22050) threw exception NotSupportedEr
ror: Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample r
ate of 22050 does not match the context rate of 44100 Hz.. |
79 PASS successfullyParsed is true | 79 PASS successfullyParsed is true |
80 | 80 |
81 TEST COMPLETE | 81 TEST COMPLETE |
82 | 82 |
OLD | NEW |