audible is no longer fired with tabs.onUpdated after a tab is reloaded or a navigation happened
Categories
(Core :: Web Audio, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox66 | --- | unaffected |
| firefox67 | --- | wontfix |
| firefox68 | --- | verified |
| firefox69 | --- | verified |
People
(Reporter: mozilla+bugzilla, Assigned: padenot)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Steps to reproduce:
With WebExtension
- Register tabs.onUpdated listener
- Navigate to a website that plays sound, e.g. soundcloud.com/discover and click any playlist
- tabs.onUpdated fires with audible changeInfo
- Reload the page
- Start playlist again
- tabs.onUpdated doesn't fire with audible changeInfo
Without WebExtension
- Open new tab
- Navigate to a website that plays sound, e.g. soundcloud.com/discover and click any playlist
- See the loudspeaker appear in the tab bar
- Reload the page
- Start playlist again
- See no loudspeaker appear in the tab bar
Expected behavior:
tabs.onUpdated with audible changeInfo should always fire and the loudspeaker should always appear if there's sound in a tab.
Actual behavior:
tabs.onUpdated doesn't fire with audible changeInfo and the loudspeaker doesn't appear after reloading the page if there's audio in the tab.
Notes
Not sure if this is actually a WebExtension bug, since the loudspeaker is also affected.
Tested with Firefox Dev Edition 67.0b15 and Nightly 68.0a1 (2019-05-03) on Linux. And with Nightly 68.0a1 (2019-04-02) on Windows 10.
Works as expected in Firefox 66.0.3.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•6 years ago
|
||
I can reproduce the issue on Nightly68.0a1 windows10.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=4bca50b46b48d008ecf6ef19200963056d49d222&tochange=3a9d2f91b02203fc9e538fcfe51e2cb5cf620b29
Regressed by: 3a9d2f91b02203fc9e538fcfe51e2cb5cf620b29 Paul Adenot — Bug 1528319 - Don't create a Promise when shutting down an AudioContext. r=karlt
Paul Adenot (:padenot),
Your patch seems to cause the regression. Can you please look into this?
| Assignee | ||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
P2, fix-optional for a 67 dot release as a ride along
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
Comment 6•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/baa019d214ce
https://hg.mozilla.org/mozilla-central/rev/6d0bd72a5967
Updated•6 years ago
|
Updated•6 years ago
|
Comment 7•6 years ago
|
||
I managed to reproduce the issue using an older version of Nightly (2019-05-07) on Windows 10 x64.
I retested everything using latest Nightly 69.0a1 and Firefox 68.0b12 on Windows 10 x64, macOS 10.13 and Ubuntu 18.04 x64 and the bug is not reproducing anymore.
Description
•