OLD | NEW |
| (Empty) |
1 Test event handler callback from OfflineAudioContext.resume() and OfflineAudioCo
ntext.suspend(). | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS A new suspend has been scheduled at 0 second(s). | |
7 PASS onstatechange event handler: context is suspended at 0 second(s). | |
8 PASS A new suspend has been scheduled at 0.25 second(s). | |
9 PASS onstatechange event handler: context is suspended at 0.25 second(s). | |
10 PASS A new suspend has been scheduled at 0.5 second(s). | |
11 PASS onstatechange event handler: context is suspended at 0.5 second(s). | |
12 PASS A new suspend has been scheduled at 0.75 second(s). | |
13 PASS onstatechange event handler: context is suspended at 0.75 second(s). | |
14 PASS A new suspend has been scheduled at 1 second(s). | |
15 PASS onstatechange event handler: context is suspended at 1 second(s). | |
16 PASS A new suspend has been scheduled at 1.25 second(s). | |
17 PASS onstatechange event handler: context is suspended at 1.25 second(s). | |
18 PASS A new suspend has been scheduled at 1.5 second(s). | |
19 PASS onstatechange event handler: context is suspended at 1.5 second(s). | |
20 PASS A new suspend has been scheduled at 1.75 second(s). | |
21 PASS onstatechange event handler: context is suspended at 1.75 second(s). | |
22 PASS Scheduling at 2 seconds rejected correctly (with InvalidStateError: cannot
schedule a suspend at frame 25600 (2 seconds) because it is greater than or equa
l to the total render duration of 25600 frames). | |
23 PASS oncomplete event handler: context.state is equal to "closed". | |
24 PASS successfullyParsed is true | |
25 | |
26 TEST COMPLETE | |
27 | |
OLD | NEW |