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

Unified Diff: LayoutTests/fast/speech/scripted/start-exception-expected.txt

Issue 1117383002: Changing serviceuri param to be url from string in Blink and tagging requests to speech recognizer Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modifying tests to add better examples and removing the unnecessary comment Created 5 years, 7 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/start-exception-expected.txt
diff --git a/LayoutTests/fast/speech/scripted/start-exception-expected.txt b/LayoutTests/fast/speech/scripted/start-exception-expected.txt
index 19342626a1946a06eaf8796890ca9656684ba095..c584fed7a4bd87cb3f058b2d2baeaf565117452f 100644
--- a/LayoutTests/fast/speech/scripted/start-exception-expected.txt
+++ b/LayoutTests/fast/speech/scripted/start-exception-expected.txt
@@ -30,6 +30,12 @@ onend
PASS r.start() did not throw exception.
r.abort()
onend
+
+serviceURIInvalid():
+window.r = new webkitSpeechRecognition()
+r.serviceURI = 'http:/:/:/badurl'
+PASS r.start() threw exception SyntaxError: Failed to execute 'start' on 'SpeechRecognition': serviceURI is neither empty nor a valid URL..
+r.abort()
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698