FLUID-6535: Text-to-speech utterances will throw an error if the lang is set and no corresponding synthesizer is available.

Metadata

Source
FLUID-6535
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Justin Obara
Created
2020-07-23T13:45:15.215-0400
Updated
2020-07-23T13:45:45.607-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Text To Speech

Description

SpeechSynthesisUtterance objects specified with a lang attribute that doesn't have a corresponding Synthesizer on the system will throw an error in MS Edge 44 (non-chromium edge). Other browsers will find the most appropriate synthesizer to use. For example in the Orator demo the lang is set to "en-CA". In my Windows 10 VM, MS Edge 44 only has synthesizers that support "en-US". If the lang is even specified as "en" it will still throw an error. This seems like a bug in the browser and it's unlikely it'll get fixed now that they've moved to a new version of Edge that is based off of Chromium.

Environments

MS Edge 44 (non-chromium browser) Win 10.