[Webkit-unassigned] [Bug 233980] A dedicated worker is not frozen even when the page is in back/forward cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 9 11:00:18 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=233980

--- Comment #6 from Geoffrey Garen <ggaren at apple.com> ---
In my suggestion to "kill the worker", I had assumed this was a ServiceWorker. But I see now that it's just a Worker.

It's an interesting edge case because there's no plain definition of "kill". Should we exit the process and possibly take down other pages with us?

I wonder if the right behavior is just to wait synchronously for the worker to terminate. Then, if the worker is hung, you get the same behavior you would have gotten if the main thread were hung. In practice, that might often trigger some kind of watchdog kill. Or something else.

It seems to me that modeling this like a hang of the main thread might be the most accurate thing, if that's possible.

-- 
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/20211209/f495cee0/attachment.htm>


More information about the webkit-unassigned mailing list