Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1116)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-eventhandler-expected.txt

Issue 1405413004: Implement suspend() and resume() for OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating UseCounter.h after L-G-T-M Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+

Powered by Google App Engine
This is Rietveld 408576698