| Index: LayoutTests/fast/speech/scripted/speechrecognition-basics.html
|
| diff --git a/LayoutTests/fast/speech/scripted/speechrecognition-basics.html b/LayoutTests/fast/speech/scripted/speechrecognition-basics.html
|
| index 95aaa44220f49b63b57cf169b4b5d8cd67ca51c0..256d0140025b115b1589a91f9972076f6ea203e0 100644
|
| --- a/LayoutTests/fast/speech/scripted/speechrecognition-basics.html
|
| +++ b/LayoutTests/fast/speech/scripted/speechrecognition-basics.html
|
| @@ -12,7 +12,32 @@ function run() {
|
| shouldBeTrue("'webkitSpeechRecognition' in self");
|
| shouldBeFalse("webkitSpeechRecognition == null");
|
|
|
| - oneMatchTest();
|
| + nullServiceURI();
|
| +}
|
| +
|
| +function nullServiceURI(){
|
| + debug('\nnullServiceURI():');
|
| + evalAndLog("window.r = new webkitSpeechRecognition()");
|
| +
|
| + r.onend = function() {
|
| + debug('onend');
|
| + validServiceURI();
|
| + }
|
| +
|
| + shouldNotThrow("r.start()");
|
| +}
|
| +
|
| +function validServiceURI(){
|
| + debug('\nvalidServiceURI():');
|
| + evalAndLog("window.r = new webkitSpeechRecognition()");
|
| + evalAndLog("r.serviceURI = 'vendor://com.google?lm=dictation&client=chromium/com.google.docs'");
|
| +
|
| + r.onend = function() {
|
| + debug('onend');
|
| + oneMatchTest();
|
| + }
|
| +
|
| + shouldNotThrow("r.start()");
|
| }
|
|
|
| function oneMatchTest() {
|
|
|