[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 14:40:40 PST 2021


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

--- Comment #13 from Mark Lam <mark.lam at apple.com> ---
(In reply to Geoffrey Garen from comment #11)
> For the more challenging case of explicitly calling Worker.terminate() in
> the middle of an infinite loop, I guess we'll eventually need to adopt / add
> support for JSC::VM::throwTerminationException() in Worker scripts.

We already do: Worker.terminate() uses the VMTraps mechanism, which allows a worker to terminate while in an infinite loop.

-- 
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/15d579d8/attachment.htm>


More information about the webkit-unassigned mailing list