OLD | NEW |
1 Test suspend/resume for an (offline) AudioContext | 1 Test suspend/resume for an (offline) 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.state is "suspended" | 6 PASS context.state is "suspended" |
7 PASS p1 = context.suspend() did not throw exception. | 7 PASS p1 = context.suspend() did not throw exception. |
8 PASS [object Object] is an instance of function Promise() { [native code] } | 8 PASS [object Promise] is an instance of function Promise() { [native code] } |
9 PASS context.suspend() was correctly rejected for an offline context | 9 PASS context.suspend() was correctly rejected for an offline context |
10 PASS p2 = context.resume() did not throw exception. | 10 PASS p2 = context.resume() did not throw exception. |
11 PASS [object Object] is an instance of function Promise() { [native code] } | 11 PASS [object Promise] is an instance of function Promise() { [native code] } |
12 PASS context.state is "suspended" | 12 PASS context.state is "suspended" |
13 PASS context.resume() was correctly rejected for an offline context | 13 PASS context.resume() was correctly rejected for an offline context |
14 PASS context.state is "closed" | 14 PASS context.state is "closed" |
15 PASS context.suspend() on a closed context rejected as expected | 15 PASS context.suspend() on a closed context rejected as expected |
16 PASS context.resume() on a closed context rejected as expected | 16 PASS context.resume() on a closed context rejected as expected |
17 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
18 | 18 |
19 TEST COMPLETE | 19 TEST COMPLETE |
20 | 20 |
OLD | NEW |