1 Tests the basics of the Speech JavaScript API
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS 'webkitSpeechRecognition' in self is true
7 PASS webkitSpeechRecognition == null is false
8 PASS speechReco == null is false
9 PASS 'grammars' in speechReco is true
10 PASS speechReco.grammars == null is false
11 PASS speechReco.grammars.length === 0 is true
12 PASS 'lang' in speechReco is true
13 PASS 'continuous' in speechReco is true
14 PASS 'interimResults' in speechReco is true
15 PASS 'maxAlternatives' in speechReco is true
16 PASS 'start' in speechReco is true
17 PASS 'stop' in speechReco is true
18 PASS 'abort' in speechReco is true
19 PASS 'onaudiostart' in speechReco is true
20 PASS 'onsoundstart' in speechReco is true
21 PASS 'onspeechstart' in speechReco is true
22 PASS 'onspeechend' in speechReco is true
23 PASS 'onsoundend' in speechReco is true
24 PASS 'onaudioend' in speechReco is true
25 PASS 'onresult' in speechReco is true
26 PASS 'onnomatch' in speechReco is true
27 PASS 'onerror' in speechReco is true
28 PASS 'onstart' in speechReco is true
29 PASS 'onend' in speechReco is true
30 PASS 'addEventListener' in speechReco is true
31 PASS 'removeEventListener' in speechReco is true
32 PASS 'dispatchEvent' in speechReco is true
33 PASS speechReco.lang is ''
34 PASS speechReco.continuous is false
35 PASS speechReco.maxAlternatives is 1
36 PASS successfullyParsed is true