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

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

Issue 950343005: Improve webaudio/audiocontext-close.html stability. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « LayoutTests/webaudio/audiocontext-close.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
(...skipping 11 matching lines...) Expand all
22 PASS context.createOscillator() threw exception InvalidStateError: Failed to exe cute 'createOscillator' on 'AudioContext': AudioContext has been closed.. 22 PASS context.createOscillator() threw exception InvalidStateError: Failed to exe cute 'createOscillator' on 'AudioContext': AudioContext has been closed..
23 PASS context.createPanner() threw exception InvalidStateError: Failed to execute 'createPanner' on 'AudioContext': AudioContext has been closed.. 23 PASS context.createPanner() threw exception InvalidStateError: Failed to execute 'createPanner' on 'AudioContext': AudioContext has been closed..
24 PASS context.createPeriodicWave(wave, wave) threw exception InvalidStateError: F ailed to execute 'createPeriodicWave' on 'AudioContext': AudioContext has been c losed.. 24 PASS context.createPeriodicWave(wave, wave) threw exception InvalidStateError: F ailed to execute 'createPeriodicWave' on 'AudioContext': AudioContext has been c losed..
25 PASS context.createScriptProcessor() threw exception InvalidStateError: Failed t o execute 'createScriptProcessor' on 'AudioContext': AudioContext has been close d.. 25 PASS context.createScriptProcessor() threw exception InvalidStateError: Failed t o execute 'createScriptProcessor' on 'AudioContext': AudioContext has been close d..
26 PASS context.createStereoPanner() threw exception InvalidStateError: Failed to e xecute 'createStereoPanner' on 'AudioContext': AudioContext has been closed.. 26 PASS context.createStereoPanner() threw exception InvalidStateError: Failed to e xecute 'createStereoPanner' on 'AudioContext': AudioContext has been closed..
27 PASS context.createWaveShaper() threw exception InvalidStateError: Failed to exe cute 'createWaveShaper' on 'AudioContext': AudioContext has been closed.. 27 PASS context.createWaveShaper() threw exception InvalidStateError: Failed to exe cute 'createWaveShaper' on 'AudioContext': AudioContext has been closed..
28 PASS osc.connect(gain) threw exception InvalidStateError: Failed to execute 'con nect' on 'AudioNode': Cannot connect after the context has been closed.. 28 PASS osc.connect(gain) threw exception InvalidStateError: Failed to execute 'con nect' on 'AudioNode': Cannot connect after the context has been closed..
29 PASS gain.disconnect() did not throw exception. 29 PASS gain.disconnect() did not throw exception.
30 PASS Attempt to resume a closed context was correctly rejected 30 PASS Attempt to resume a closed context was correctly rejected
31 PASS Closing context again correctly rejected promise. 31 PASS Closing context again correctly rejected promise.
32 PASS context.destination is null
32 PASS offline = new OfflineAudioContext(1, 1000, 48000) did not throw exception. 33 PASS offline = new OfflineAudioContext(1, 1000, 48000) did not throw exception.
33 PASS offline.state is "suspended" 34 PASS offline.state is "suspended"
34 PASS Closing offline context correctly rejected 35 PASS Closing offline context correctly rejected
35 PASS Closing offline context again correctly rejected 36 PASS Closing offline context again correctly rejected
36 PASS offline.startRendering() did not throw exception. 37 PASS offline.startRendering() did not throw exception.
37 PASS event.target.state is "closed" 38 PASS event.target.state is "closed"
38 PASS successfullyParsed is true 39 PASS successfullyParsed is true
39 40
40 TEST COMPLETE 41 TEST COMPLETE
41 42
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/audiocontext-close.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698