Open Bug 1855722 Opened 9 months ago Updated 7 months ago

Muted tab does not mute speechSynthesis

Categories

(Core :: Web Speech, defect)

Firefox 117
Desktop
Linux
defect

Tracking

()

People

(Reporter: ignaz.k, Unassigned)

References

Details

Attachments

(1 file)

Attached file example.html

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

  1. Open https://quickdraw.withgoogle.com
  2. Mute the tab
  3. Draw something

Alternatively:

  1. Open the html file attached
  2. Mute the tab
  3. Press the button

Actual results:

The muted tab produced sound.

Expected results:

The muted tab should not produce sound.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

I was able to reproduce the issue using Ubuntu 20.04 using FF build 117.0 (although tab is muted sound is heard while drawing).
Marking issue as new.

Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
OS: Unspecified → Linux
Hardware: Unspecified → Desktop

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)
Component: Tabbed Browser → Audio/Video
Flags: needinfo?(dao+bmo)
Product: Firefox → Core

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)

Working for me on Windows. Once i mute the tab I no longer hear anything.

Flags: needinfo?(jmathies)

Thanks for the simple testcase in the attachment. That produces sound even when muted with Nightly on Linux.

Given the linux-but-not-windows reproduction, I suspect something is not behaving as desired in SpeechDispatcherService code.
A comment acknowledges ineffectiveness mid-utterance, but this is reproducing even when muting before speak() is called.

Component: Audio/Video → Web Speech

This code is about how we mute web speech before. If now it doesn't work, then probably means something broken around those functions.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: