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

Unified Diff: LayoutTests/webaudio/audiocontext-close-expected.txt

Issue 945023002: Refactoring layout tests for AudioContext.suspend() and resume() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed to check 'event' object, not global context. 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/webaudio/audiocontext-close-expected.txt
diff --git a/LayoutTests/webaudio/audiocontext-close-expected.txt b/LayoutTests/webaudio/audiocontext-close-expected.txt
index f6350898cce3dd4a7398059f1bc25d3500539498..5bdd70a215c9ee5913c6c5a436ff7b823ff8b828 100644
--- a/LayoutTests/webaudio/audiocontext-close-expected.txt
+++ b/LayoutTests/webaudio/audiocontext-close-expected.txt
@@ -28,13 +28,13 @@ PASS context.createWaveShaper() threw exception InvalidStateError: Failed to exe
PASS osc.connect(gain) threw exception InvalidStateError: Failed to execute 'connect' on 'AudioNode': Cannot connect after the context has been closed..
PASS gain.disconnect() did not throw exception.
PASS Attempt to resume a closed context was correctly rejected
+PASS Closing context again correctly rejected promise.
PASS offline = new OfflineAudioContext(1, 1000, 48000) did not throw exception.
PASS offline.state is "suspended"
PASS Closing offline context correctly rejected
-PASS Closing context again correctly rejected promise.
PASS Closing offline context again correctly rejected
PASS offline.startRendering() did not throw exception.
-PASS offline.state is "closed"
+PASS event.target.state is "closed"
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698