Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.2
-
None
Description
It looks like window.speechSynthesis is undefined with QtWebEngine, despite this feature being available since Chrome 33, and as far as I can tell, not needing any Google APIs.
It looks like it was deliberately disabled?
https://codereview.qt-project.org/c/qt/qtwebengine/+/147796
https://codereview.qt-project.org/c/qt/qtwebengine/+/310641
This can be seen by e.g. visiting http://mdn.github.io/web-speech-api/speak-easy-synthesis/ with simplebrowser - it will show "Uncaught TypeError: Cannot read property 'getVoices' of undefined" in the devtools console.