Should probably surround with an if(window.SpeechRecognition)
Error Stack (Safari)
[Error] ERROR
TypeError: undefined is not a constructor (evaluating 'new SpeechRecognition()')
SpeechService
_createClass
_createProviderInstance$1
resolveNgModuleDep
createClass
createDirectiveInstance
createViewNodes
callViewAction
execComponentViewsAction
createViewNodes
createEmbeddedView
callWithDebugContext
createEmbeddedView
createEmbeddedView
_updateView
set
updateProp
checkAndUpdateDirectiveInline
debugCheckAndUpdateNode
debugCheckDirectivesFn
(anonymous function)
checkAndUpdateView
callViewAction
execComponentViewsAction
checkAndUpdateView
callWithDebugContext
detectChanges
forEach
tick
_loadComponent
bootstrap
forEach
_moduleDoBootstrap
(anonymous function)
onInvoke
run
(anonymous function)
onInvokeTask
runTask
drainMicroTaskQueue
promiseReactionJob
error
View_ResultsPageComponent_0 (ResultsPageComponent.ngfactory.js:45)
logError (0:13611)
(anonymous function)
handleError (0:1284)
handleError (1271:61)
run (870:138)
tick (0:5023)
_loadComponent (0:4991)
bootstrap (0:4979)
forEach
_moduleDoBootstrap (0:4750)
(anonymous function) (0:4712)
onInvoke (0:4094)
run (870:138)
(anonymous function) (870:858)
onInvokeTask (0:4085)
runTask (870:188)
drainMicroTaskQueue (870:595)
promiseReactionJob
Should probably surround with an if(window.SpeechRecognition)
Error Stack (Safari)
[Error] ERROR
TypeError: undefined is not a constructor (evaluating 'new SpeechRecognition()')
SpeechService
_createClass
_createProviderInstance$1
resolveNgModuleDep
createClass
createDirectiveInstance
createViewNodes
callViewAction
execComponentViewsAction
createViewNodes
createEmbeddedView
callWithDebugContext
createEmbeddedView
createEmbeddedView
_updateView
set
updateProp
checkAndUpdateDirectiveInline
debugCheckAndUpdateNode
debugCheckDirectivesFn
(anonymous function)
checkAndUpdateView
callViewAction
execComponentViewsAction
checkAndUpdateView
callWithDebugContext
detectChanges
forEach
tick
_loadComponent
bootstrap
forEach
_moduleDoBootstrap
(anonymous function)
onInvoke
run
(anonymous function)
onInvokeTask
runTask
drainMicroTaskQueue
promiseReactionJob
error
View_ResultsPageComponent_0 (ResultsPageComponent.ngfactory.js:45)
logError (0:13611)
(anonymous function)
handleError (0:1284)
handleError (1271:61)
run (870:138)
tick (0:5023)
_loadComponent (0:4991)
bootstrap (0:4979)
forEach
_moduleDoBootstrap (0:4750)
(anonymous function) (0:4712)
onInvoke (0:4094)
run (870:138)
(anonymous function) (870:858)
onInvokeTask (0:4085)
runTask (870:188)
drainMicroTaskQueue (870:595)
promiseReactionJob