[Webkit-unassigned] [Bug 243055] REGRESSION: Web Speech API - nullable voice attribute is not supported
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 8 11:21:10 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=243055
Simon Bates <sbates at ocadu.ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sbates at ocadu.ca
--- Comment #9 from Simon Bates <sbates at ocadu.ca> ---
Hi,
I am experiencing this issue also. I can reproduce the issue with the following steps:
1. Open Safari Technology Preview 153 (additional OS details below)
2. Open the developer Console
3. Run the following: window.speechSynthesis.speak(new SpeechSynthesisUtterance("hello"))
Expected:
* To hear "hello" spoken
Actual:
* Nothing heard
When I run the JavaScript command above (window.speechSynthesis.speak(new SpeechSynthesisUtterance("hello"))) on Firefox and Chrome on the same computer, I hear "hello" being spoken.
I am able to get speech to work if I explicitly set the voice before sending the utterance to the speak method. If I run the following on the Safari Technology Preview 153, I am able to hear speech:
u = new SpeechSynthesisUtterance("hello");
u.voice = window.speechSynthesis.getVoices()[0];
window.speechSynthesis.speak(u);
Machine details:
* macOS 12.5.1
* Intel MacBook Pro
* I am in Canada (maybe there is a locale component to this?) and window.navigator.language is "en-CA" for me
Thanks very much for looking into this issue.
Regards,
Simon
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220908/f81dac3b/attachment-0001.htm>
More information about the webkit-unassigned
mailing list