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

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

Issue 1865583002: Implement BaseAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 3 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
1 Basic functionality test of closing an AudioContext 1 Basic functionality test of closing an AudioContext
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS context = new AudioContext() did not throw exception. 6 PASS context = new AudioContext() did not throw exception.
7 PASS context.state is "running" 7 PASS context.state is "running"
8 PASS osc = context.createOscillator() did not throw exception. 8 PASS osc = context.createOscillator() did not throw exception.
9 PASS gain = context.createGain() did not throw exception. 9 PASS gain = context.createGain() did not throw exception.
10 PASS gain.connect(context.destination) did not throw exception. 10 PASS gain.connect(context.destination) did not throw exception.
11 PASS context.close() was correctly resolved 11 PASS context.close() was correctly resolved
12 PASS gain.disconnect(destination) did not throw exception. 12 PASS gain.disconnect(destination) did not throw exception.
13 PASS context.createAnalyser() threw exception InvalidStateError: Failed to execu te 'createAnalyser' on 'AudioContext': AudioContext has been closed.. 13 PASS context.createAnalyser() threw exception InvalidStateError: Failed to execu te 'createAnalyser' on 'BaseAudioContext': AudioContext has been closed..
14 PASS context.createBiquadFilter() threw exception InvalidStateError: Failed to e xecute 'createBiquadFilter' on 'AudioContext': AudioContext has been closed.. 14 PASS context.createBiquadFilter() threw exception InvalidStateError: Failed to e xecute 'createBiquadFilter' on 'BaseAudioContext': AudioContext has been closed. .
15 PASS context.createBuffer(1, 1, 48000) did not throw exception. 15 PASS context.createBuffer(1, 1, 48000) did not throw exception.
16 PASS context.createBufferSource() threw exception InvalidStateError: Failed to e xecute 'createBufferSource' on 'AudioContext': AudioContext has been closed.. 16 PASS context.createBufferSource() threw exception InvalidStateError: Failed to e xecute 'createBufferSource' on 'BaseAudioContext': AudioContext has been closed. .
17 PASS context.createChannelMerger() threw exception InvalidStateError: Failed to execute 'createChannelMerger' on 'AudioContext': AudioContext has been closed.. 17 PASS context.createChannelMerger() threw exception InvalidStateError: Failed to execute 'createChannelMerger' on 'BaseAudioContext': AudioContext has been close d..
18 PASS context.createChannelSplitter() threw exception InvalidStateError: Failed t o execute 'createChannelSplitter' on 'AudioContext': AudioContext has been close d.. 18 PASS context.createChannelSplitter() threw exception InvalidStateError: Failed t o execute 'createChannelSplitter' on 'BaseAudioContext': AudioContext has been c losed..
19 PASS context.createConvolver() threw exception InvalidStateError: Failed to exec ute 'createConvolver' on 'AudioContext': AudioContext has been closed.. 19 PASS context.createConvolver() threw exception InvalidStateError: Failed to exec ute 'createConvolver' on 'BaseAudioContext': AudioContext has been closed..
20 PASS context.createDelay() threw exception InvalidStateError: Failed to execute 'createDelay' on 'AudioContext': AudioContext has been closed.. 20 PASS context.createDelay() threw exception InvalidStateError: Failed to execute 'createDelay' on 'BaseAudioContext': AudioContext has been closed..
21 PASS context.createDynamicsCompressor() threw exception InvalidStateError: Faile d to execute 'createDynamicsCompressor' on 'AudioContext': AudioContext has been closed.. 21 PASS context.createDynamicsCompressor() threw exception InvalidStateError: Faile d to execute 'createDynamicsCompressor' on 'BaseAudioContext': AudioContext has been closed..
22 PASS context.createGain() threw exception InvalidStateError: Failed to execute ' createGain' on 'AudioContext': AudioContext has been closed.. 22 PASS context.createGain() threw exception InvalidStateError: Failed to execute ' createGain' on 'BaseAudioContext': AudioContext has been closed..
23 PASS context.createOscillator() threw exception InvalidStateError: Failed to exe cute 'createOscillator' on 'AudioContext': AudioContext has been closed.. 23 PASS context.createOscillator() threw exception InvalidStateError: Failed to exe cute 'createOscillator' on 'BaseAudioContext': AudioContext has been closed..
24 PASS context.createPanner() threw exception InvalidStateError: Failed to execute 'createPanner' on 'AudioContext': AudioContext has been closed.. 24 PASS context.createPanner() threw exception InvalidStateError: Failed to execute 'createPanner' on 'BaseAudioContext': AudioContext has been closed..
25 PASS context.createPeriodicWave(wave, wave) threw exception InvalidStateError: F ailed to execute 'createPeriodicWave' on 'AudioContext': AudioContext has been c losed.. 25 PASS context.createPeriodicWave(wave, wave) threw exception InvalidStateError: F ailed to execute 'createPeriodicWave' on 'BaseAudioContext': AudioContext has be en closed..
26 PASS context.createScriptProcessor() threw exception InvalidStateError: Failed t o execute 'createScriptProcessor' on 'AudioContext': AudioContext has been close d.. 26 PASS context.createScriptProcessor() threw exception InvalidStateError: Failed t o execute 'createScriptProcessor' on 'BaseAudioContext': AudioContext has been c losed..
27 PASS context.createStereoPanner() threw exception InvalidStateError: Failed to e xecute 'createStereoPanner' on 'AudioContext': AudioContext has been closed.. 27 PASS context.createStereoPanner() threw exception InvalidStateError: Failed to e xecute 'createStereoPanner' on 'BaseAudioContext': AudioContext has been closed. .
28 PASS context.createWaveShaper() threw exception InvalidStateError: Failed to exe cute 'createWaveShaper' on 'AudioContext': AudioContext has been closed.. 28 PASS context.createWaveShaper() threw exception InvalidStateError: Failed to exe cute 'createWaveShaper' on 'BaseAudioContext': AudioContext has been closed..
29 PASS osc.connect(gain) threw exception InvalidStateError: Failed to execute 'con nect' on 'AudioNode': Cannot connect after the context has been closed.. 29 PASS osc.connect(gain) threw exception InvalidStateError: Failed to execute 'con nect' on 'AudioNode': Cannot connect after the context has been closed..
30 PASS gain.disconnect() did not throw exception. 30 PASS gain.disconnect() did not throw exception.
31 PASS Attempt to resume a closed context was correctly rejected 31 PASS Attempt to resume a closed context was correctly rejected
32 PASS Closing context again correctly rejected promise. 32 PASS Closing context again correctly rejected promise.
33 PASS context.destination is null 33 PASS context.destination is null
34 PASS offline = new OfflineAudioContext(1, 1000, 48000) did not throw exception. 34 PASS offline = new OfflineAudioContext(1, 1000, 48000) did not throw exception.
35 PASS offline.state is "suspended" 35 PASS offline.state is "suspended"
36 PASS Closing offline context correctly rejected: InvalidAccessError: cannot clos e an OfflineAudioContext. 36 PASS Closing offline context correctly rejected: InvalidAccessError: cannot clos e an OfflineAudioContext.
37 PASS Closing offline context again correctly rejected 37 PASS Closing offline context again correctly rejected
38 PASS offline.startRendering() did not throw exception. 38 PASS offline.startRendering() did not throw exception.
39 PASS event.target.state is "closed" 39 PASS event.target.state is "closed"
40 PASS successfullyParsed is true 40 PASS successfullyParsed is true
41 41
42 TEST COMPLETE 42 TEST COMPLETE
43 43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698