Open Bug 1386667 Opened 7 years ago Updated 2 years ago

trigger service worker updates during idle time

Categories

(Core :: DOM: Service Workers, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: bkelly, Unassigned)

References

(Blocks 1 open bug)

Details

Currently we use a fixed timeout after DOMContentLoaded to trigger the service worker update process. This can still theoretically conflict with site loading if its doing a lot after DOMContentLoaded. Instead we should use an idle dispatch to perform the update if the main thread is no longer busy. It would be nice if intermediate runnables within the update process also used idle dispatch as well.
Priority: -- → P2
Severity: normal → minor
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.