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

Side by Side 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: Adding layout tests and forward declaring KURL 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 unified diff | Download patch
OLDNEW
1 Test getting an exception when calling start() in the Speech JavaScript API 1 Test getting an exception when calling start() in the Speech JavaScript API
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 'webkitSpeechRecognition' in self is true 6 PASS 'webkitSpeechRecognition' in self is true
7 PASS webkitSpeechRecognition == null is false 7 PASS webkitSpeechRecognition == null is false
8 8
9 doubleStart(): 9 doubleStart():
10 window.r = new webkitSpeechRecognition() 10 window.r = new webkitSpeechRecognition()
(...skipping 12 matching lines...) Expand all
23 onspeechend 23 onspeechend
24 PASS r.start() threw exception InvalidStateError: Failed to execute 'start' on ' SpeechRecognition': recognition has already started.. 24 PASS r.start() threw exception InvalidStateError: Failed to execute 'start' on ' SpeechRecognition': recognition has already started..
25 onsoundend 25 onsoundend
26 PASS r.start() threw exception InvalidStateError: Failed to execute 'start' on ' SpeechRecognition': recognition has already started.. 26 PASS r.start() threw exception InvalidStateError: Failed to execute 'start' on ' SpeechRecognition': recognition has already started..
27 onaudioend 27 onaudioend
28 PASS r.start() threw exception InvalidStateError: Failed to execute 'start' on ' SpeechRecognition': recognition has already started.. 28 PASS r.start() threw exception InvalidStateError: Failed to execute 'start' on ' SpeechRecognition': recognition has already started..
29 onend 29 onend
30 PASS r.start() did not throw exception. 30 PASS r.start() did not throw exception.
31 r.abort() 31 r.abort()
32 onend 32 onend
33
34 serviceURIInvalid():
35 window.r = new webkitSpeechRecognition()
36 r.serviceURI = 'blah'
37 PASS r.start() threw exception SyntaxError: Failed to execute 'start' on 'Speech Recognition': serviceURI is neither empty nor a valid URL..
38 r.abort()
33 PASS successfullyParsed is true 39 PASS successfullyParsed is true
34 40
35 TEST COMPLETE 41 TEST COMPLETE
36 42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698