Chromium Code Reviews| Index: LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt |
| diff --git a/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt b/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6b550088adfe8248ec91bcac831b956d6a91bbe0 |
| --- /dev/null |
| +++ b/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt |
| @@ -0,0 +1,15 @@ |
| +Basic test for OfflineAudioContext.suspend() and OfflineAudioContext.resume(). |
| + |
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| + |
| + |
| +PASS context.suspend() rejected correctly (with TypeError: Failed to execute 'suspend' on 'OfflineAudioContext': 1 argument required, but only 0 present.). |
| +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.
|
| +PASS Scheduling a suspend in the past rejected correctly (with InvalidStateError: cannot schedule a suspend at frame 17536 (0.399229 seconds) because it is earlier than the current frame of 22016). |
| +PASS Calling multiple suspends at the same rendering quantum rejected correctly (with InvalidStateError: cannot schedule more than one suspend at frame 128 (0.00435374 seconds)). |
| +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
|
| +PASS Calling resume on non-suspended context rejected correctly (with InvalidStateError: cannot resume a context that has not started). |
| +PASS successfullyParsed is true |
| + |
| +TEST COMPLETE |
| + |