The SpeechSynthesisEvent fired by pause() does not correctly report charIndex
Reported by
aa...@easy-designs.net,
Jan 13 2017
|
|||||
Issue descriptionUserAgent: 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
,
Jan 13 2017
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.
,
Jan 16 2017
,
Jan 18 2017
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).
,
Jan 18 2017
,
Sep 16 2017
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.
,
Sep 16
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by aa...@easy-designs.net
, Jan 13 2017