Rename and improve documentation around _scheduleArbitrarilyLateIdleTasks
Categories
(Firefox :: General, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: Gijs, Assigned: alexical)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxperf:p1])
Attachments
(2 files)
This helper only runs things when the user is not using the machine (not just Firefox). Due to the multiple meanings of "idle" used in various API names (viz. ChromeUtils.idleDispatch()
referring to whether gecko/firefox has stuff to do before the next paint / rendering tick), this is not obvious. We should rename the method so it's more obvious, and in bug 1651161 evaluate which of the tasks that we run this way actually need/want to be run when the user is not using the machine, and/or if it's acceptable if they never end up getting run (which may currently happen).
Assignee | ||
Comment 1•4 years ago
|
||
I'm just going to go ahead and take this, in lieu of giving it a priority.
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D83413
Pushed by dothayer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2a646a7936e7 Rename idle service r=Gijs,geckoview-reviewers,snorp https://hg.mozilla.org/integration/autoland/rev/d67baa908131 Rename and redocument _scheduleArbitrarilyLateIdleTasks r=Gijs
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2a646a7936e7
https://hg.mozilla.org/mozilla-central/rev/d67baa908131
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/ab1568fa6f2b Rename nsIIdleService to nsIUserIdleService in Thunderbird code. rs=bustage-fix
Description
•