Closed
Bug 1291741
Opened 8 years ago
Closed 8 years ago
Relax setTimeout throttling in background tabs when an AudioContext is present, rather than only when audio is playing
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
See bug 1181073 comment 30 through 32 for an explanation as to why this may be necessary.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8777901 -
Flags: review?(bkelly)
Updated•8 years ago
|
Attachment #8777901 -
Flags: review?(bkelly) → review+
Pushed by michael@thelayzells.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cc55edd1533d Relax setTimeout throttling in background tabs when an AudioContext is present, rather than only when audio is playing, r=bkelly
Comment 3•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cc55edd1533d
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Assignee | ||
Comment 4•8 years ago
|
||
Did this fix your problems with webaudio in background tabs?
Flags: needinfo?(sole)
Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Soledad Penades [:sole] [:spenades] from comment #5) > I will need to wait until it's in Nightly to test... This was landed 5 days ago, I think it's in nightly by now.
Flags: needinfo?(sole)
Comment 7•8 years ago
|
||
I’ve done doc updates in tandem with bug 1181073 for this (mentioning the difference between Firefox 50 and 51 but writing them up together).
Updated•8 years ago
|
Keywords: dev-doc-complete
Comment 8•7 years ago
|
||
:mystor - I am deeply sorry that I just realised this needinfo was here. I tested this and it's still not quite as I think it should be. The rhythm keeps missing notes, but I was expecting it to keep playing as normal when in the background as the audiocontext is [should be?] active. I realise you probably have other things in mind right now, but as an audio-on-the-web-interested-person I would love to see if there's a way this can be improved. I promise to be more needinfo-aware next time! Apologies again! I'm truly sorry.
Flags: needinfo?(sole) → needinfo?(michael)
Comment 9•7 years ago
|
||
We recently changed some thing in FF55 beta and FF56 nightly. Do those behave any differently for you?
Flags: needinfo?(sole)
Comment 10•7 years ago
|
||
What did you change? What difference should I see? I tested today using Nightly, that's where I saw the 'not quite right' behaviour that I described in comment 8.
Flags: needinfo?(sole)
Comment 12•7 years ago
|
||
Sure! - I am going to http://sole.github.io/test_cases/web_audio/settimeout/ - Click play - Change to another tab so this one goes to the background I'd expect the sound to keep playing smoothly as it is when in the foreground, but notes are skipped and so the beat is not OK
Flags: needinfo?(sole)
Comment 13•7 years ago
|
||
I can reproduce. I'm going to file a new bug.
Comment 14•7 years ago
|
||
Thank you, Ben. Very appreciated considering the Quantum workload!
Assignee | ||
Comment 15•7 years ago
|
||
Sounds like Ben has this under control :). Clearing needinfo.
Flags: needinfo?(michael)
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•