OLD | NEW |
---|---|
(Empty) | |
1 Basic test for OfflineAudioContext.suspend() and OfflineAudioContext.resume(). | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | |
4 | |
5 | |
6 PASS context.suspend() rejected correctly (with TypeError: Failed to execute 'su spend' on 'OfflineAudioContext': 1 argument required, but only 0 present.). | |
7 PASS context.suspend(-1.0) rejected correctly (with InvalidStateError: negative suspend time is not allowed). | |
Raymond Toy
2015/06/16 17:57:09
Would be nice to print out the requested suspend t
hongchan
2015/06/16 21:31:20
Done.
| |
8 PASS Scheduling a suspend in the past rejected correctly (with InvalidStateError : cannot schedule a suspend at frame 17536 (0.399229 seconds) because it is earl ier than the current frame of 22016). | |
9 PASS Calling multiple suspends at the same rendering quantum rejected correctly (with InvalidStateError: cannot schedule more than one suspend at frame 128 (0.0 0435374 seconds)). | |
10 PASS Resuming before suspend rejected correctly (with InvalidStateError: cannot resume a context that has not started). | |
Raymond Toy
2015/06/16 17:57:09
This error message doesn't quite fit with the desc
hongchan
2015/06/16 21:31:20
Good catch. I need to think about how this test wi
| |
11 PASS Calling resume on non-suspended context rejected correctly (with InvalidSta teError: cannot resume a context that has not started). | |
12 PASS successfullyParsed is true | |
13 | |
14 TEST COMPLETE | |
15 | |
OLD | NEW |