1 This tests the constructor for the SpeechRecognitionEvent DOM class.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS new webkitSpeechRecognitionEvent('eventType').bubbles is false
7 PASS new webkitSpeechRecognitionEvent('eventType').cancelable is false
8 PASS new webkitSpeechRecognitionEvent('eventType').results is null
9 PASS new webkitSpeechRecognitionEvent('eventType').resultIndex is 0
10 PASS new webkitSpeechRecognitionEvent('eventType', { bubbles: false }).bubbles is false
11 PASS new webkitSpeechRecognitionEvent('eventType', { bubbles: true }).bubbles is true
12 PASS new webkitSpeechRecognitionEvent('eventType', { cancelable: false }).cancelable is false
13 PASS new webkitSpeechRecognitionEvent('eventType', { cancelable: true }).cancelable is true
14 PASS new webkitSpeechRecognitionEvent('eventType', { resultIndex: 42 }).resultIndex is 42
15 PASS successfullyParsed is true