New issue
Advanced search Search tips

Issue 639660 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

SpeechSynthesis becomes broken when the speaking ends with paused state.

Reported by sgkim...@gmail.com, Aug 21 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0

Steps to reproduce the problem:
var u = new SpeechSynthesisUtterance('가나다라마바사아자차카타파하가나다라마바사아자차카타파하');
u.lang = 'ko-KR';
speechSynthesis.speak(u);
u.onstart = () => setTimeout(() => speechSynthesis.pause(), 1000);

What is the expected behavior?

What went wrong?
The above code does not paused until speaking all text. I think it is because the text does not have a punctuation marks. It's not a big problem, because I can know when it paused via onpause callback.

The real problem is it makes SpeechSynthesis broken. The above code makes the state of speechSynthesis be {pending: false, speaking: false, paused: true}, and it cannot be resumed even I manually run speechSynthesis.resume().

speechSynthesis.speak(another utterance) changes speaking flag to true and paused flag to false, but it makes no sounds just changes the state.

Did this work before? No 

Chrome version: 46.0.2460.0  Channel: dev
OS Version: 10.0
Flash Version:
 

Comment 1 by sgkim...@gmail.com, Aug 21 2016

I think it's the same issue with https://bugs.chromium.org/p/chromium/issues/detail?id=591191
And it occurs in the windows also.

The key point to reproduce is the speaking must finish in the paused state.
In my environment, native voice makes this situation frequently.
Labels: TE-NeedsTriageHelp
Components: -Blink Blink>Speech

Comment 4 by ajha@chromium.org, Aug 23 2016

Cc: dmazz...@chromium.org
Cc'ing 	dmazzoni@ for more inputs on this. 
Labels: Needs-Feedback
[triage] sgkim126@ could you please retry on a modern version of Chrome? M46 is one year old.

Comment 6 by sgkim...@gmail.com, Aug 30 2016

jansson@ It occurs in 52.0.2743.116 m (64-bit)
Ow, you typed 46.0.2460.0 in the description.

dmazzoni@ any input?
[triage]: dmazzoni have you had a chance to look at this yet?
[triage]: ping dmazzoni
Project Member

Comment 10 by sheriffbot@chromium.org, Sep 23 2016

Labels: -Needs-Feedback Needs-Review
Owner: jansson@chromium.org
Thank you for providing more feedback. Adding requester "jansson@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Owner: ----
dmazzoni@: can you have a look?
Status: Started (was: Unconfirmed)
Looking into this one

Labels: -Needs-Review
Cleaning up "Needs-Review" label as we are not using this label for triage anymore. Ref bug for this cleanup 684919
Status: Available (was: Started)
This issue has been marked as started, but has no owner. Making available.

Sign in to add a comment