This tests the constructor for the SpeechRecognitionError DOM class.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS new webkitSpeechRecognitionError('eventType').bubbles is false
PASS new webkitSpeechRecognitionError('eventType').cancelable is false
PASS new webkitSpeechRecognitionError('eventType').code is 0
PASS new webkitSpeechRecognitionError('eventType').message is ""
PASS new webkitSpeechRecognitionError('eventType', { bubbles: false }).bubbles is false
PASS new webkitSpeechRecognitionError('eventType', { bubbles: true }).bubbles is true
PASS new webkitSpeechRecognitionError('eventType', { cancelable: false }).cancelable is false
PASS new webkitSpeechRecognitionError('eventType', { cancelable: true }).cancelable is true
PASS new webkitSpeechRecognitionError('eventType', { code: 1 }).code is 1
PASS new webkitSpeechRecognitionError('eventType', { code: 12345 }).code is 12345
PASS new webkitSpeechRecognitionError('eventType', { message: 'foo' }).message is "foo"

