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

Side by Side 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: Fix typo caught by bots but not locally 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test suspend/resume for an AudioContext
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS context.state is "paused"
7 PASS context.suspend() did not throw exception.
8 PASS context.suspend() did not throw exception.
9 PASS p1 = context.resume() did not throw exception.
10 PASS [object Object] is an instance of function Promise() { [native code] }
11 PASS p2 = context.resume() did not throw exception.
12 PASS [object Object] is an instance of function Promise() { [native code] }
13 PASS Promises from resume are not equal.
14 PASS context.state is "paused"
15 PASS Context resumed correctly.
16 PASS Context resumed correctly.
17 PASS context.state is "released"
18 PASS context.suspend() threw exception InvalidStateError: Failed to execute 'sus pend' on 'AudioContext': cannot suspend an AudioContext that has been released.
19 PASS resume() on a released context rejected as expected
20 PASS successfullyParsed is true
21
22 TEST COMPLETE
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698