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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 Basic test for OfflineAudioContext.suspend() and OfflineAudioContext.resume().
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS context.suspend() rejected correctly (with TypeError: Failed to execute 'su spend' on 'OfflineAudioContext': 1 argument required, but only 0 present.).
7 PASS context.suspend(-1.0) rejected correctly (with InvalidStateError: negative suspend time is not allowed).
8 PASS Calling multiple suspends at the same rendering quantum rejected correctly (with InvalidStateError: cannot schedule more than one suspend at 0.00435374 sec onds whose quantized frame is 128).
9 PASS Resuming before suspend rejected correctly (with InvalidStateError: cannot resume a context that has not started).
10 PASS Calling resume on non-suspended context rejected correctly (with InvalidSta teError: cannot resume a context that has not started).
11 PASS successfullyParsed is true
12
13 TEST COMPLETE
14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698