1 Tests the OfflineAudioContext constructor
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS new OfflineAudioContext(1, 0, 44100) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': number of frames cannot be zero..
7 PASS new OfflineAudioContext(2, 512, 3000) did not throw exception.
8 PASS new OfflineAudioContext(2, 512, 192000) did not throw exception.
9 PASS new OfflineAudioContext(2, 512, 8000) did not throw exception.
10 PASS new OfflineAudioContext(2, 512, 11025) did not throw exception.
11 PASS new OfflineAudioContext(2, 512, 22050) did not throw exception.
12 PASS new OfflineAudioContext(2, 512, 44100) did not throw exception.
13 PASS new OfflineAudioContext(2, 512, 48000) did not throw exception.
14 PASS new OfflineAudioContext(2, 512, 88200) did not throw exception.
15 PASS new OfflineAudioContext(2, 512, 96000) did not throw exception.
16 PASS new OfflineAudioContext(1, 0, NaN) threw exception TypeError: Failed to construct 'OfflineAudioContext': The provided float value is non-finite..
17 PASS new OfflineAudioContext(1, 0, Infinite) threw exception ReferenceError: Infinite is not defined.
18 PASS successfullyParsed is true