Closed Bug 1326363 Opened 7 years ago Closed 4 years ago

sound/noise from muted tab

Categories

(Core :: Audio/Video: Playback, defect, P3)

49 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: roboticstranger, Unassigned)

Details

Attachments

(1 file)

Attached audio Typing In Muted Tab.m4a
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160923225245

Steps to reproduce:

- Visit any site that produces sound
- Mute the tab by clicking the audio icon in the tab
- travel to https://www.typingclub.com/sportal/team-1/program-qwerty-en/review-first-row.play
- Begin typing


Actual results:

- Website attempts to play typewriter sound on  each keypress
- The first few sounds are heard
- Some sounds after the first few are heard
- Clicking noises are heard


Expected results:

- Website attempts to play typewriter sound on  each keypress
- No sounds are heard
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
I can't reproduce it on Win 7 with FF50, the typewriter sounds are correct for me and can be heard after each typing.
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
(In reply to Loic from comment #1)
> I can't reproduce it on Win 7 with FF50, the typewriter sounds are correct
> for me and can be heard after each typing.

When the tab is muted, the typewriter sounds should /not/ be heard - However, they are still affecting the sound system.
WFM, if I mute all tabs, typewritter sounds are muted too.
Oddly, I don't get any sound at all. Does this use Flash?
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #4)
> Oddly, I don't get any sound at all. Does this use Flash?
                                     ^ even unmuted
I don't know how to reproduce this issue.
Priority: -- → P3
I am able to replicate this with Firefox 54.0 on OSX with notifications (like Slack). Tab is muted, I have someone send me a message and I can hear it through my speakers even though the mute tab icon is showing. I have restarted Firefox, unmuted and muted and the same issue happens. This is requiring me to close pinned tabs during meetings where I don't want an audio distraction.

This jsfiddle, (which causes different undesirable behaviour under Chrome), seems to be able to reliably reproduce this for me (Arch Linux, 5.0.10, Firefox 67.0.1).

It seems like there is some sort of race condition between when an audio source begins playing, and when Firefox can kill the sound.

Several others have also reported it playing sound under a muted tab (reddit).

It seems to at least also reliably happen under Ubuntu 18+, under Firefox 67.0.1. It does not seem to effect Windows users, or at least not in a noticeable way.

I'm able to reproduce the issue with firefox 73.0.1 on Ubuntu.

  1. I go to typingclub.com
  2. I press CTRL + M to mute
  3. During lessons some sounds are heard (I guess first sounds of each lesson)

It is even easier to notice on
https://lichess.org/training page. Even if tab is muted, the first move sound is always heard.

I have reproduced it as well.
Go here:
https://www.arkadium.com/games/2048-game/
Mute the tab
Start the game
You hear sound for < 1 second, each and every time you start a new game, even though the tab is muted.
Even if I go to another page in the muted tab, I hear sound on the new tab for < 1 second.

(In reply to alfadog from comment #10)

I have reproduced it as well.
Go here:
https://www.arkadium.com/games/2048-game/
Mute the tab
Start the game
You hear sound for < 1 second, each and every time you start a new game, even though the tab is muted.
Even if I go to another page in the muted tab, I hear sound on the new tab for < 1 second.

This sounds like bug1346880, which we already fixed.
Close this bug because the original link is unavailable.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: