Open Bug 1774542 Opened 2 years ago Updated 2 years ago

Timers don't seem to be throttled in workers of background tabs

Categories

(Core :: DOM: Workers, defect, P3)

defect

Tracking

()

People

(Reporter: florian, Unassigned)

References

(Blocks 1 open bug)

Details

See this profile: https://share.firefox.dev/3OA3kyL

setTimeout on the main thread is throttled and timers execute at 1Hz, but the main thread is woken up much more frequently by "message" DOM events, and these seem to be triggered by timers in the DOM worker.

The process priority is "background".

Olli, is it easy to check what the code does and see if throttling of worker timers is just not implemented, or would it be useful to write a reduced test case?

Flags: needinfo?(bugs)

This is now very much known and we do want to do this, or at least I do. It is not implemented, but shouldn't be too hard.

Flags: needinfo?(smaug)
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.