Parts of the sound from a loaded game tab is still played while being in a new tab
Categories
(Core :: Web Audio, defect)
Tracking
()
People
(Reporter: atrif, Unassigned)
References
()
Details
Attachments
(1 file)
268.62 KB,
text/plain
|
Details |
Affected versions
- 78.5.0esr (20201110001500)
- 83.0 (20201112153044)
- 84.0b3 (20201119195818)
- 85.0a1(20201116210217)
Affected platforms
- Windows 10x64
- Ubuntu 20
- macOS 11.0.1
Steps to reproduce
- Open Firefox and go https://poki.com/en/g/zoom-be.
- Open a new tab and wait.
Expected result
- The sound from https://poki.com/en/g/zoom-be stops.
Actual result
- Parts of the music are still played.
Regression range
- Reproducible with Firefox 32.0a1 (2014-05-02) so I think it’s safe to assume that this is not a regression.
Suggested Severity: S3
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
:atrif, if you think that's a regression, then could you try to find a regression range in using for example mozregression?
Comment 2•3 years ago
•
|
||
It looks like the game plays sound using WebAudio. Before switching tab the log shows a series of lines like the following about every 1x or 2x ms, while after switching several series were batched once per second.
2020-12-05 23:48:16.427258 UTC - [Child 53594: Main Thread]: D/WebAudioAPI 6.938667: detune for 438 SetValue value=0 time=0.000000 constant=0
2020-12-05 23:48:16.427289 UTC - [Child 53594: Main Thread]: D/WebAudioAPI 6.938667: playbackRate for 438 SetValue value=1 time=0.000000 constant=0
2020-12-05 23:48:16.427313 UTC - [Child 53594: Main Thread]: D/WebAudioAPI 6.938667: AudioBufferSourceNode 438 Connect() to AudioDestinationNode 0
2020-12-05 23:48:16.427324 UTC - [Child 53594: Main Thread]: D/WebAudioAPI 6.938667: AudioBufferSourceNode 438 Start(7.008000, 0, 2.22507e-308)
2020-12-05 23:48:16.443229 UTC - [Child 53594: Main Thread]: D/WebAudioAPI 6.954667: detune for 439 SetValue value=0 time=0.000000 constant=0
2020-12-05 23:48:16.443257 UTC - [Child 53594: Main Thread]: D/WebAudioAPI 6.954667: playbackRate for 439 SetValue value=1 time=0.000000 constant=0
2020-12-05 23:48:16.443278 UTC - [Child 53594: Main Thread]: D/WebAudioAPI 6.954667: AudioBufferSourceNode 439 Connect() to AudioDestinationNode 0
2020-12-05 23:48:16.443290 UTC - [Child 53594: Main Thread]: D/WebAudioAPI 6.954667: AudioBufferSourceNode 439 Start(7.024000, 0, 2.22507e-308)
I wonder if the script or API was throttled when in background.
Paul, would you like to have a look at this one? Thanks!
Updated•3 years ago
|
Comment 3•3 years ago
|
||
(In reply to Alexandru Trif, QA [:atrif] from comment #0)
Expected result
- The sound from https://poki.com/en/g/zoom-be stops.
The website is making calls to make sound, I don't know why it stops in Chrome, but this is buggy code.
Updated•3 years ago
|
Description
•