We should be able to terminate service workers that are unresponsive (e.g. in a tight loop).
<rdar://problem/35280031>
Created attachment 331255 [details] WIP Patch
Created attachment 331257 [details] WIP Patch
Attachment 331257 [details] did not pass style-queue: ERROR: Source/WebCore/workers/service/context/SWContextManager.cpp:29: Found other header before a header this file implements. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 331551 [details] Patch
ping review?
This has the side effect of terminating all service workers
(In reply to Alex Christensen from comment #7) > This has the side effect of terminating all service workers Yes, there is no other way and this is fine. We already deal properly with the SW process crashing and we restart those service workers as needed.
Comment on attachment 331551 [details] Patch Clearing flags on attachment: 331551 Committed r227174: <https://trac.webkit.org/changeset/227174>
All reviewed patches have been landed. Closing bug.