Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-91285

Speech synthesis API missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.2.0 Alpha
    • 5.15.2
    • WebEngine
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes