After checking in with Launch Services on macOS, close all open XPC connections to the service.
<rdar://13785139>
Created attachment 418344 [details] Patch
Comment on attachment 418344 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418344&action=review > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:323 > + // FIXME: Replace the constant 4 with kLSServerConnectionStatusReleaseNotificationsMask when available in the SDK. Can you add a Bugzilla here so we don't forget? > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:459 > + if (!m_networkProcessConnection) This feels very unusual. Should we log when this happens? > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:746 > + if (!m_networkProcessConnection) Ditto. Updating activate page information when the network process is dead seems unusual. Might be worth logging in case it is relevant to user-visible bugs.
Created attachment 418435 [details] Patch
(In reply to Brent Fulgham from comment #3) > Comment on attachment 418344 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=418344&action=review > > > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:323 > > + // FIXME: Replace the constant 4 with kLSServerConnectionStatusReleaseNotificationsMask when available in the SDK. > > Can you add a Bugzilla here so we don't forget? > Done. > > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:459 > > + if (!m_networkProcessConnection) > > This feels very unusual. Should we log when this happens? > > > Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:746 > > + if (!m_networkProcessConnection) > > Ditto. Updating activate page information when the network process is dead > seems unusual. Might be worth logging in case it is relevant to user-visible > bugs. Fixed in latest patch. Thanks for reviewing!
Committed r271897: <https://trac.webkit.org/changeset/271897> All reviewed patches have been landed. Closing bug and clearing flags on attachment 418435 [details].
I don't think this change was correct. Following up in Bug 221094.