OLD | NEW |
1 Basic functionality test of closing an AudioContext | 1 Basic functionality test of closing an AudioContext |
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 | 5 |
6 PASS context = new AudioContext() did not throw exception. | 6 PASS context = new AudioContext() did not throw exception. |
7 PASS context.state is "running" | 7 PASS context.state is "running" |
8 PASS osc = context.createOscillator() did not throw exception. | 8 PASS osc = context.createOscillator() did not throw exception. |
9 PASS gain = context.createGain() did not throw exception. | 9 PASS gain = context.createGain() did not throw exception. |
10 PASS gain.connect(context.destination) did not throw exception. | 10 PASS gain.connect(context.destination) did not throw exception. |
(...skipping 20 matching lines...) Expand all Loading... |
31 PASS Attempt to resume a closed context was correctly rejected | 31 PASS Attempt to resume a closed context was correctly rejected |
32 PASS Closing context again correctly rejected promise. | 32 PASS Closing context again correctly rejected promise. |
33 PASS context.destination is null | 33 PASS context.destination is null |
34 PASS offline = new OfflineAudioContext(1, 1000, 48000) did not throw exception. | 34 PASS offline = new OfflineAudioContext(1, 1000, 48000) did not throw exception. |
35 PASS offline.state is "suspended" | 35 PASS offline.state is "suspended" |
36 PASS offline.close is undefined. | 36 PASS offline.close is undefined. |
37 PASS successfullyParsed is true | 37 PASS successfullyParsed is true |
38 | 38 |
39 TEST COMPLETE | 39 TEST COMPLETE |
40 | 40 |
OLD | NEW |