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

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

Issue 1140723003: Implement suspend() and resume() for OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added UseCounter Created 5 years, 6 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-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..02797c353a9187c48b5c11661c9146584296da40
--- /dev/null
+++ b/LayoutTests/webaudio/offlineaudiocontext-suspend-resume-basic-expected.txt
@@ -0,0 +1,14 @@
+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).
+PASS Calling multiple suspends at the same rendering quantum rejected correctly (with InvalidStateError: cannot schedule more than one suspend at 0.00435374 seconds whose quantized frame is 128).
+PASS Resuming before suspend rejected correctly (with InvalidStateError: cannot resume a context that has not started).
+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
+

Powered by Google App Engine
This is Rietveld 408576698