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

Side by Side 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, 4 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 promise resolution of OfflineAudioContext.resume() and OfflineAudioContext. 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 at frame 25600 (2 seconds) because it is greate r than or equal to the total render duration of 25600 frames).
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