New issue
Advanced search Search tips

Issue 681026 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

The SpeechSynthesisEvent fired by pause() does not correctly report charIndex

Reported by aa...@easy-designs.net, Jan 13 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

Steps to reproduce the problem:
1. Create a SpeechSynthesisUtterance
2. Pass that utterance to the synthesizer to play it
3. Pause the synthesizer
4. Examine the emitted event
5. charIndex will be 0

What is the expected behavior?
The charIndex should reflect the position of the virtual carat.

What went wrong?
The charIndex property is not getting updated.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 55.0.2883.95  Channel: stable
OS Version: OS X 10.12.2
Flash Version: Shockwave Flash 24.0 r0

The event emitted to onboundary is correct.

Firefox implements it correctly.

You can also view the reduced test case at http://codepen.io/aarongustafson/pen/egzRxV
 
SpeechSynthesisEvent charIndex Issue.zip
4.7 KB Download
Verified to still be an issue in Chromium Nightly for Mac.
It’s also worth noting that elapsedTime also seems to be off. I can’t tell if it is tracking ms since page load or some other event, but I don’t think it’s onstart for the SpeechSynthesisUtterance.

Comment 3 by ajha@chromium.org, Jan 16 2017

Labels: Needs-Triage-M55
Labels: -Needs-Triage-M55 M-57 OS-iOS OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Mac 10.12.2, Win 10 and Ubuntu 14.04 using 55.0.2883.95/83.(the "at 1251.1729736328125ms the current charIndex is 0" is displayed in chrome and some time it does not display anything.)

This is a non-regression issue since 40.0.2190.0.
Untriaged it so as to get addressed further.

Note: Its working fine on FireFox(checked in Mac and Win).
Labels: -OS-iOS
I am able to reproduce this issue on Windows 8.1 Pro with Chrome Version 61.0.3163.91 (Official Build) (64-bit). Firefox 55.0.3 (32-bit) works correctly.
Status: Available (was: Untriaged)

Sign in to add a comment