Index: third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8b34421e1597241805e1f3c0963129578655d4fe |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt |
@@ -0,0 +1,19 @@ |
+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 (-1) is not allowed). |
+PASS context.suspend(2.0) rejected correctly (with InvalidStateError: cannot schedule a suspend at frame 88192 (2 seconds) because it is greater than or equal to the total render duration of 44100 frames). |
+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 (0.499229 seconds)). |
+PASS Scheduling a suspend in the future resolved correctly. |
+PASS Scheduling a suspend at frame 128 was successful. |
+PASS Scheduling another suspend at the same rendering quantum rejected correctly (with InvalidStateError: cannot schedule more than one suspend at frame 128 (0.00435374 seconds)). |
+PASS Scheduling a suspend at 0.5 second. |
+PASS Resuming at 0 second (before the actual suspend happens) rejected correctly (with InvalidStateError: cannot resume a context that is running). |
+PASS Calling resume on context without any previous suspend rejected correctly (with InvalidStateError: cannot resume a context that has not started). |
Raymond Toy
2015/10/21 18:22:45
The description doesn't seem to match the InvalidS
hongchan
2015/10/22 18:23:48
It tries to resume a context that has not started.
Raymond Toy
2015/10/22 18:41:44
The description is "resume on context without prev
hongchan
2015/10/22 20:17:04
No. This is a separate test from others.
It creat
|
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |