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

Issue 807538 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 812767
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

SpeechSynthesis breaks with no autoplay

Reported by ichigo....@gmail.com, Jan 31 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36

Steps to reproduce the problem:
1. chrome://flags
2. Autoplay policy: Document user activation required
3. SpeechSynthesis no longer works

What is the expected behavior?
SpeechSynthesis should still work with user interaction

What went wrong?
SpeechSynthesis does not play

Did this work before? N/A 

Chrome version: 64.0.3282.119  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 

Comment 1 by kochi@chromium.org, Jan 31 2018

Components: -Blink Internals>SpeechSynthesis
Labels: Needs-Triage-M64
Cc: susanjun...@techmahindra.com
Labels: Triaged-ET Needs-Feedback
ichigo.san@ Thanks for the issue.

Tested this issue on Windows 10 and Mac OS 10.12.6 on the reported version 64.0.3282.119, latest Stable 64.0.3282.140 and Canary 66.0.3336.5 by following the below steps.

1. Launched Chrome and navigated to Chrome://flags
2. Set the Autoplay Policy flag to Document user activation is required and relaunched Chrome.
3. Added the Extension Chromevox on Chrome and on clicking on the page, Chromevox is reading the text and no issues are observed.
Attached is the screen cast for reference.

Request you to check and confirm if anything is missed from our end in reproducing the issue. 

Also request you to retry the issue on a new chrome profile and update the thread with the observations.

Thanks..
807538.webm
6.3 MB View Download
Sorry I no longer can reproduce it either. Was probably an artifact from upgrading to v64 and disabling autoplay at the same time then restarting Chrome.
Project Member

Comment 5 by sheriffbot@chromium.org, Feb 3 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "susanjunia.boorgula@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Actually I found out the root cause. SpeechSynthesis uses an internal blocking queue from testing, so multiple applications will play one after the other rather than all together (which is a bug I feel too ?).

The problem is with autoplay disabled, Chrome cancels/NOPs the call, but does not clear the queue, so other apps of the API are still stuck in pending.


You can test this by running with autoplay disabled in a console window:
"var utterance = new SpeechSynthesisUtterance('Hello Treehouse');
window.speechSynthesis.speak(utterance);"

Then trying to play SpeechSynthesis on a site.

Components: Blink>Media>Autoplay
Mergedinto: 812767
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment