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': 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 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.disconnect(99) threw exception IndexSizeError: Failed to execute 'disc
onnect' on 'AudioNode': output index (99) exceeds number of outputs (1).. |
44 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.connect(otherContext.destination) threw exception SyntaxError: Failed
to execute 'connect' on 'AudioNode': cannot connect to a destination belonging t
o a different audio context.. |
45 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.channelCount = 99 threw exception NotSupportedError: Failed to set the
'channelCount' property on 'AudioNode': channel count (99) must be between 1 an
d 32.. |
46 PASS node.channelCountMode = 'fancy' did not throw exception. | 46 PASS node.channelCountMode = 'fancy' did not throw exception. |
47 PASS Invalid channelCountMode value did not change mode | 47 PASS Invalid channelCountMode value did not change mode |
48 PASS node.channelInterpretation = mode did not throw exception. | 48 PASS node.channelInterpretation = mode did not throw exception. |
49 PASS Invalid channelInterpration value did not change mode | 49 PASS Invalid channelInterpration value did not change mode |
50 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].. | 50 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].. |
51 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exceptio
n. | 51 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw exceptio
n. |
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 SyntaxError: Failed to c
onstruct 'OfflineAudioContext': sample rate (1) must be in the range 44100-96000
Hz.. | 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 SyntaxError: Failed to
construct 'OfflineAudioContext': sample rate (1.00000e+6) must be in the range
44100-96000 Hz.. | 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 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.stop() did not throw exception. | 61 PASS source.stop() did not throw exception. |
62 PASS source = context.createBufferSource() did not throw exception. | 62 PASS source = context.createBufferSource() did not throw exception. |
63 PASS source.start() did not throw exception. | 63 PASS source.start() did not throw exception. |
64 PASS source = context.createBufferSource() did not throw exception. | 64 PASS source = context.createBufferSource() did not throw exception. |
(...skipping 17 matching lines...) Expand all Loading... |
82 PASS osc1.stop() did not throw exception. | 82 PASS osc1.stop() did not throw exception. |
83 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. | 83 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. |
84 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. | 84 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. |
85 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception. | 85 PASS oc = new OfflineAudioContext(1, 44100, 44100) did not throw exception. |
86 PASS conv = oc.createConvolver() did not throw exception. | 86 PASS conv = oc.createConvolver() did not throw exception. |
87 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.. | 87 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.. |
88 PASS successfullyParsed is true | 88 PASS successfullyParsed is true |
89 | 89 |
90 TEST COMPLETE | 90 TEST COMPLETE |
91 | 91 |
OLD | NEW |