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

Unified Diff: LayoutTests/fast/speech/scripted/speechrecognition-detached-no-crash-expected.txt

Issue 960223002: Detach SpeechRecognitionController upon page detach. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Allow controller-detached creation of SpeechRecognition objects 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/fast/speech/scripted/speechrecognition-detached-no-crash-expected.txt
diff --git a/LayoutTests/fast/speech/scripted/speechrecognition-detached-no-crash-expected.txt b/LayoutTests/fast/speech/scripted/speechrecognition-detached-no-crash-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e35371a7f85054bff67c1e5e0e699b04f16419a5
--- /dev/null
+++ b/LayoutTests/fast/speech/scripted/speechrecognition-detached-no-crash-expected.txt
@@ -0,0 +1,17 @@
+main frame - has 1 onunload handler(s)
+Accessing SpeechRecognition on a detached window should not crash.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS recognition.start() is undefined.
+PASS recognition.stop() is undefined.
+PASS recognition.abort() is undefined.
+PASS recognition = new constructor() did not throw exception.
+PASS recognition.start() is undefined.
+PASS recognition.stop() is undefined.
+PASS recognition.abort() is undefined.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698