cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.88k stars 2.92k forks source link

Javascript : window.speechSynthesis.getVoices() returns an empty array #2404

Closed BigPino67 closed 6 years ago

BigPino67 commented 6 years ago

What version of the product are you using? 63.0.3 via NuGet.

What architecture x86 or x64? x86 platform in build configuration.

On what operating system? Windows 10

Are you using WinForms, WPF or OffScreen? WinForms

What steps will reproduce the problem? Go to https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/speechsynthesis/

The dropdown list of voices is empty! Supposed to be full.

Or, open a remote dev console for cefSharp project, and type window.speechSynthesis.getVoices(). The array is empty! Supposed to be an array of 20 SpeechSynthesisVoice objects.

What is the expected output? What do you see instead? Suppose to have at least 20 SpeechSynthesisVoice objects in an array, mine is empty. No crash

The browser is suppose to support Speech Synthesis

Results with CefSharp : image

Wanted (as chrome) : image

amaitland commented 6 years ago

How do I investigate my issue further?

It's important to remember that CefSharp is just a wrapper around the Chromium Embedded Project (CEF), the upstream CEF forum is a valuable resource. Also CEF has it's own Issue Tracker. Please take the time to research your own problem, including Googling, searching on ceforum, etc.

--

Finding more info

--

How do I download cefclient?

This next part is key

amaitland commented 6 years ago

See http://magpcss.org/ceforum/viewtopic.php?f=6&t=11570

If you need further clarification best to ask on http://magpcss.org/ceforum/index.php as I've never used the API.