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

Side by Side Diff: LayoutTests/webaudio/offlineaudiocontext-suspend-resume-eventhandler-expected.txt

Issue 1140723003: Implement suspend() and resume() for OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Ready for Review 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 unified diff | Download patch
OLDNEW
(Empty)
1 Test event handler callback from OfflineAudioContext.resume() and OfflineAudioCo ntext.suspend().
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS context.currentTime is equal to 0.
7 PASS context.currentTime is equal to 0.25.
8 PASS context.currentTime is equal to 0.5.
9 PASS context.currentTime is equal to 0.75.
10 PASS context.currentTime is equal to 1.
11 PASS context.currentTime is equal to 1.25.
12 PASS context.currentTime is equal to 1.5.
13 PASS context.currentTime is equal to 1.75.
14 PASS context.suspend(scheduledSuspendTime) rejected correctly (with InvalidState Error: cannot schedule a suspend beyond the total render duration).
Raymond Toy 2015/06/12 21:11:36 Can the error message include the actual suspend t
hongchan 2015/06/15 18:40:45 We agreed on: ASSERT(suspensionTime < renderDurat
hongchan 2015/06/15 18:40:45 Done.
15 PASS context.state is equal to closed.
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698