[Webkit-unassigned] [Bug 202142] Fix ServiceWorker downloads
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 22 02:37:23 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=202142
--- Comment #9 from Jimmy Wärting <jimmy at warting.se> ---
I know for a fact that one way to keep the service worker alive is to keep sending postMessages every x second to it to prevent it from going idle.
(i think this is stupid and the spec should change it to allow it to stay open for longer: https://github.com/w3c/ServiceWorker/issues/980#issuecomment-486827233)
I have also read up in some issues in chromium bug and bugzilla that service worker should be alive for longer periods if it is holding a `FetchEvent.respondWith()` and the FetchEvent's window is still open. If the FetchEvent's window is closed, the `respondWith()` keep alive should be revoked.
https://github.com/w3c/ServiceWorker/issues/882
https://bugzilla.mozilla.org/show_bug.cgi?id=1302715
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200922/699975ab/attachment-0001.htm>
More information about the webkit-unassigned
mailing list