Don't play synthesized speech from web pages when Chrome is in the background.
Fixes two issues: 1. If a web page starts talking and you switch out of Chrome, it will stop speech now. 2. If a web page tries to start speaking after a setTimeout delay, it won't speak if Chrome doesn't have a visible window at the time it would speak. This doesn't necessarily address the issue of a background tab trying to speak, that would require plumbing through a lot of information that's not available now. Let's see if this is good enough, and revisit if we also need to keep track of tabs? Bug: 998328 Change-Id: I5f4d2dbeb033b9868eee0faf242522f1f0796a6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1779172Reviewed-by:Jinsuk Kim <jinsukkim@chromium.org> Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#693001}
Showing
Please register or sign in to comment