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 3000-192000 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 3000-192000 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 3000-192000 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 3000-192000 Hz. |
8 PASS context.createBuffer(1, 1, 3000) did not throw exception. | 8 PASS context.createBuffer(1, 1, 3000) did not throw exception. |
9 PASS context.createBuffer(1, 1, 192000) did not throw exception. | 9 PASS context.createBuffer(1, 1, 192000) did not throw exception. |
10 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.. | 10 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.. |
(...skipping 27 matching lines...) Expand all Loading... |
38 PASS node.connect(null, 0, 0) threw exception SyntaxError: Failed to execute 'co
nnect' on 'AudioNode': invalid destination node.. | 38 PASS node.connect(null, 0, 0) threw exception SyntaxError: Failed to execute 'co
nnect' on 'AudioNode': invalid destination node.. |
39 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).. | 39 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).. |
40 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).. | 40 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).. |
41 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe
cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1).
. | 41 PASS node.connect(node2.gain, 100) threw exception IndexSizeError: Failed to exe
cute 'connect' on 'AudioNode': output index (100) exceeds number of outputs (1).
. |
42 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc
onnect' on 'AudioNode': output index (99) exceeds number of outputs (1).. | 42 PASS node.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc
onnect' on 'AudioNode': output index (99) exceeds number of outputs (1).. |
43 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.. | 43 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.. |
44 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.. | 44 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.. |
45 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'.. | 45 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'.. |
46 PASS node.channelInterpretation = mode threw exception InvalidStateError: Failed
to set the 'channelInterpretation' property on 'AudioNode': invalid interpretat
ion 'fancy'; must be 'speakers' or 'discrete'.. | 46 PASS node.channelInterpretation = mode threw exception InvalidStateError: Failed
to set the 'channelInterpretation' property on 'AudioNode': invalid interpretat
ion 'fancy'; must be 'speakers' or 'discrete'.. |
47 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].. | 47 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].. |
48 PASS new OfflineAudioContext(99, 100, context.sampleRate) threw exception Syntax
Error: Failed to construct 'OfflineAudioContext': number of channels (99) exceed
s maximum (10).. | 48 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exceptio
n. |
| 49 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].. |
49 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.. | 50 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.. |
50 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.. | 51 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.. |
51 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo
rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144
8390656, 44100). | 52 PASS new OfflineAudioContext(1, -88200000000000, 44100) threw exception NotSuppo
rtedError: Failed to construct 'OfflineAudioContext': OfflineAudioContext(1, 144
8390656, 44100). |
52 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'.. | 53 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'.. |
53 PASS source = context.createBufferSource() did not throw exception. | 54 PASS source = context.createBufferSource() did not throw exception. |
54 PASS source.buffer = buffer did not throw exception. | 55 PASS source.buffer = buffer did not throw exception. |
55 PASS source.start() did not throw exception. | 56 PASS source.start() did not throw exception. |
56 PASS source.stop() did not throw exception. | 57 PASS source.stop() did not throw exception. |
57 PASS source = context.createBufferSource() did not throw exception. | 58 PASS source = context.createBufferSource() did not throw exception. |
58 PASS source.start() did not throw exception. | 59 PASS source.start() did not throw exception. |
(...skipping 18 matching lines...) Expand all Loading... |
77 PASS osc1.stop() did not throw exception. | 78 PASS osc1.stop() did not throw exception. |
78 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. | 79 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. |
79 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. | 80 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. |
80 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception. | 81 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception. |
81 PASS conv = oc.createConvolver() did not throw exception. | 82 PASS conv = oc.createConvolver() did not throw exception. |
82 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.. | 83 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.. |
83 PASS successfullyParsed is true | 84 PASS successfullyParsed is true |
84 | 85 |
85 TEST COMPLETE | 86 TEST COMPLETE |
86 | 87 |
OLD | NEW |