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

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

Issue 625363004: Implement suspend/resume for AudioContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update according to new webaudio spec Created 6 years, 2 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
« no previous file with comments | « LayoutTests/webaudio/audiocontext-suspend-resume.html ('k') | Source/modules/webaudio/AudioContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt
diff --git a/LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt b/LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e68b68a4f5934b9495d5ac2077c430dfddd34a1f
--- /dev/null
+++ b/LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt
@@ -0,0 +1,20 @@
+Test suspend/resume for an (offline) AudioContext
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS context.state is "suspended"
+PASS p1 = context.suspend() did not throw exception.
+PASS [object Object] is an instance of function Promise() { [native code] }
+PASS context.suspend() was correctly rejected for an offline context
+PASS p1 = context.resume() did not throw exception.
+PASS [object Object] is an instance of function Promise() { [native code] }
+PASS context.state is "suspended"
+PASS context.resume() was correctly rejected for an offline context
+PASS context.state is "closed"
+PASS context.suspend() on a closed context rejected as expected
+PASS context.resume() on a closed context rejected as expected
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/webaudio/audiocontext-suspend-resume.html ('k') | Source/modules/webaudio/AudioContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698