New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 797624 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

"speak <previous utterance text> speak slash" is audio output of .speak() following two calls to .speak(), .pause() and .resume()

Reported by guest271...@gmail.com, Dec 26 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/63.0.3239.84 Chrome/63.0.3239.84 Safari/537.36

Steps to reproduce the problem:
1. Create two SpeechSynthesisUtterance instances new SpeechSynthesisUtterance("123"), new SpeechSynthesisUtterance("456")

2. Call speechSynthesis.cancel() to remove all utterances from the utterance queue

3. Attach onend event to first of two SpeechSynthesisUtterance instances

4. Attach onstart event to second of two SpeechSynthesisUtterance instances

5. Call speechSynthesis.speak(<first SpeechSynthesisUtterance instance>)

6. Call speechSynthesis.pause()

7. Call speechSynthesis.speak(<first SpeechSynthesisUtterance instance>)

8. Within onend handler of first SpeechSynthesisUtterance 
A. Log speechSynthesis.paused
B. Log speechSynthesis.pending
C. Call speechSynthesis.resume()
D. Call speechSynthesis.resume()

What is the expected behavior?
1. Within onend event of the first of two SpeechSynthesisUtterance instances the "pending" property of speechSynthesis to be true

2. Within onend event handler of first of two SpeechSynthesisUtterance instances when the first of two .resume() calls is made the second of two SpeechSynthesisUtterance instances "text" property to be rendered as audio output

3. The rendered audio output of the second of two SpeechSynthesisUtterance instances to reflect the "text" property of the object: "four hundred fifty-six"

What went wrong?
1. Within onend event handler of one of two SpeechSynthesisUtterance instances the "pending" property of speechSynthesis is false

2. Two calls to .resume() are needed for audio output to occur, where only one call to .resume() should be necessary to resume speechSynthesis audio output

3. The "text" property of the first SpeechSynthesisUtterance instance is output at speakers, instead of the pending second SpeechSynthesisUtterance instance within the utterance queue. Additionally, the output contains words which are not included in the "text" property of the object: "speak one hundred twenty-three slash speak"

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.84  Channel: n/a
OS Version: 
Flash Version:
 
speech-synthesis-speak-pause-resume-chromium.js
964 bytes View Download
Labels: Needs-Triage-M63
Cc: krajshree@chromium.org
Components: Internals>SpeechSynthesis
Labels: Needs-Feedback Triaged-ET
Reporter@ - Thanks for filing the issue...!!

Could you please provide a sample test file to test the issue from TE-end.
This will help us in triaging the issue further.

Thanks...!!
speech-synthesis-speak-pause-resume-chromium-test.html
2.4 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Dec 29 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
speech-synthesis-speak-pause-resume-chromium-test-data-uri
32.0 KB View Download
Labels: M-65 OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Win-10 and Ubuntu 14.04 using chrome reported version #63.0.3239.84 and latest canary #65.0.3309.0. Issue is not seen in OS-Mac.
This is a non-regression issue as it is observed from M54 old builds. 
Note: From M53 and older builds on opening the speech-synthesis-speak-pause-resume-chromium-test.html, nothing plays.
Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Components: Blink>Speech

Sign in to add a comment