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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 4 years 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 suspend/resume for an (offline) AudioContext
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS offlineContext = new OfflineAudioContext(1, durationInSeconds * sampleRate, sampleRate) did not throw exception.
7 PASS offlineContext.state is "suspended"
8 PASS p1 = offlineContext.suspend() did not throw exception.
9 PASS p1 is an instance of Promise
10 PASS offlineContext.suspend() was correctly rejected: TypeError: Failed to execu te 'suspend' on 'OfflineAudioContext': 1 argument required, but only 0 present.
11 PASS p2 = offlineContext.resume() did not throw exception.
12 PASS p2 is an instance of Promise
13 PASS offlineContext.state is "suspended"
14 PASS offlineContext.resume() was correctly rejected: InvalidStateError: cannot r esume an offline context that has not started
15 PASS p3 = offlineContext.startRendering() did not throw exception.
16 PASS offlineContext.state is "closed"
17 PASS offlineContext.suspend() on a closed context rejected: TypeError: Failed to execute 'suspend' on 'OfflineAudioContext': 1 argument required, but only 0 pre sent.
18 PASS offlineContext.resume() on a closed context rejected: InvalidStateError: ca nnot resume a closed offline context
19 PASS successfullyParsed is true
20
21 TEST COMPLETE
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698