| Index: tools/dom/scripts/systemhtml.py
|
| diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
|
| index 19c251e75c3fb2a0755cda878881e0c7f2d52fbe..2e545c9c20d528249c1bf35cf96b36e378809fb1 100644
|
| --- a/tools/dom/scripts/systemhtml.py
|
| +++ b/tools/dom/scripts/systemhtml.py
|
| @@ -89,6 +89,8 @@ js_support_checks = {
|
| 'HTMLTrackElement': "Element.isTagSupported('track')",
|
| 'NotificationCenter': "JS('bool', '!!(window.webkitNotifications)')",
|
| 'Performance': "JS('bool', '!!(window.performance)')",
|
| + 'SpeechRecognition': "JS('bool', '!!(window.SpeechRecognition || "
|
| + "window.webkitSpeechRecognition)')",
|
| 'WebSocket': "JS('bool', 'typeof window.WebSocket != \"undefined\"')",
|
| }
|
|
|
| @@ -512,6 +514,7 @@ class Dart2JSBackend(HtmlDartGenerator):
|
| 'AudioContext',
|
| 'Blob',
|
| 'MutationObserver',
|
| + 'SpeechRecognition',
|
| ]
|
|
|
| if self._interface.doc_js_name in WITH_CUSTOM_STATIC_FACTORY:
|
|
|