Index: third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-eventhandler-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-eventhandler-expected.txt b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-eventhandler-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e4b6237fcfb10eeb1a102727b427c3c9dcea288a |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-eventhandler-expected.txt |
@@ -0,0 +1,27 @@ |
+Test event handler callback from OfflineAudioContext.resume() and OfflineAudioContext.suspend(). |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS A new suspend has been scheduled at 0 second(s). |
+PASS onstatechange event handler: context is suspended at 0 second(s). |
+PASS A new suspend has been scheduled at 0.25 second(s). |
+PASS onstatechange event handler: context is suspended at 0.25 second(s). |
+PASS A new suspend has been scheduled at 0.5 second(s). |
+PASS onstatechange event handler: context is suspended at 0.5 second(s). |
+PASS A new suspend has been scheduled at 0.75 second(s). |
+PASS onstatechange event handler: context is suspended at 0.75 second(s). |
+PASS A new suspend has been scheduled at 1 second(s). |
+PASS onstatechange event handler: context is suspended at 1 second(s). |
+PASS A new suspend has been scheduled at 1.25 second(s). |
+PASS onstatechange event handler: context is suspended at 1.25 second(s). |
+PASS A new suspend has been scheduled at 1.5 second(s). |
+PASS onstatechange event handler: context is suspended at 1.5 second(s). |
+PASS A new suspend has been scheduled at 1.75 second(s). |
+PASS onstatechange event handler: context is suspended at 1.75 second(s). |
+PASS Scheduling at 2 seconds rejected correctly (with InvalidStateError: cannot schedule a suspend at frame 25600 (2 seconds) because it is greater than or equal to the total render duration of 25600 frames). |
+PASS oncomplete event handler: context.state is equal to closed. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |