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

Unified Diff: LayoutTests/webaudio/offlineaudiocontext-detached-no-crash-expected.txt

Issue 1111213002: Treat a stopped AudioContext as closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: startRendering() doesn't (directly) raise an exception Created 5 years, 8 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/offlineaudiocontext-detached-no-crash-expected.txt
diff --git a/LayoutTests/battery-status/detached-no-crash-expected.txt b/LayoutTests/webaudio/offlineaudiocontext-detached-no-crash-expected.txt
similarity index 53%
copy from LayoutTests/battery-status/detached-no-crash-expected.txt
copy to LayoutTests/webaudio/offlineaudiocontext-detached-no-crash-expected.txt
index 99fc3330e27584c69606b7264bbe7bdf1915d125..55ef58d93342202e403d5843cdb250b8f973d165 100644
--- a/LayoutTests/battery-status/detached-no-crash-expected.txt
+++ b/LayoutTests/webaudio/offlineaudiocontext-detached-no-crash-expected.txt
@@ -1,11 +1,10 @@
main frame - has 1 onunload handler(s)
-Accessing navigator.getBattery() on a closed window.
+Tests document-detached use of OfflineAudioContext, pass if no crash.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS typeof(nav.getBattery()) == 'object' is true
-PASS nav.getBattery() is undefined.
+PASS OfflineAudioContext.startRendering() on a closed context threw an exception.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698