Open Bug 1643933 Opened 6 years ago Updated 6 years ago

Allow tabs to play sounds in background via "allow once and forget" permission

Categories

(Core :: Audio/Video: Playback, enhancement)

77 Branch
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: mystiquewolf, Unassigned)

Details

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

Steps to reproduce:

  1. Open Google Calendar and set it as Pinned tab
  2. Set some reminders inside Google Calendar
  3. Go to a different tab than the Google Calendar one
  4. Ensure Firefox restores session on startup
  5. Close Firefox
  6. Open Firefox again and wait for the notification

Actual results:

Although both audio and video autoplay are allowed, the notification doesn't play any sound (unless you specifically click the play button in the tab once it tries to play the notification sound).

Expected results:

There should be a way to allow background sounds autoplay, specifically for purposes of notification sounds of background tabs. Similar cases are Outlook/Gmail.

Summary: Allow tabs to play sounds in background via "allow once" permission → Allow tabs to play sounds in background via "allow once and forget" permission

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.