Share same code between network process termination and crash handling. This would avoid bugs such as Bug 224022.
Created attachment 424911 [details] Patch
Comment on attachment 424911 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424911&action=review > Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:-1745 > - processPool->terminateServiceWorkers(); Does this have a replacement?
Comment on attachment 424911 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424911&action=review > Source/WebKit/UIProcess/WebProcessPool.cpp:484 > m_automationSession->terminate(); Yes, networkProcessDidTerminate() gets called on termination now and terminates the service workers 2 lines below here.
Committed r275389: <https://commits.webkit.org/r275389> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424911 [details].
<rdar://problem/76124951>