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

Unified Diff: LayoutTests/webaudio/offlineaudiocontext-suspend-resume-promise-expected.txt

Issue 1140723003: Implement suspend() and resume() for OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Bring ToT Created 5 years, 5 months 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: LayoutTests/webaudio/offlineaudiocontext-suspend-resume-promise-expected.txt
diff --git a/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-promise-expected.txt b/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-promise-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c981818f37a71614b9e244d908c051edd052bc6
--- /dev/null
+++ b/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-promise-expected.txt
@@ -0,0 +1,19 @@
+Test promise resolution of OfflineAudioContext.resume() and OfflineAudioContext.suspend().
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS context.currentTime is equal to 0.
+PASS context.currentTime is equal to 0.25.
+PASS context.currentTime is equal to 0.5.
+PASS context.currentTime is equal to 0.75.
+PASS context.currentTime is equal to 1.
+PASS context.currentTime is equal to 1.25.
+PASS context.currentTime is equal to 1.5.
+PASS context.currentTime is equal to 1.75.
+PASS context.suspend(scheduledSuspendTime) 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 context.state is equal to closed.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698