Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: a7a2ef1d4abaeff8ba9cc9faf8a7bc703e877bd3 https://github.com/WebKit/WebKit/commit/a7a2ef1d4abaeff8ba9cc9faf8a7bc703e877bd3 Author: Per Arne Vollan <pvol...@apple.com> Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths: M Source/WebKit/Platform/IPC/Connection.cpp M Source/WebKit/Platform/IPC/Connection.h M Source/WebKit/Platform/IPC/cocoa/ConnectionCocoa.mm M Source/WebKit/Platform/cocoa/XPCUtilities.h M Source/WebKit/Platform/cocoa/XPCUtilities.mm M Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp M Source/WebKit/UIProcess/AuxiliaryProcessProxy.h M Source/WebKit/UIProcess/Cocoa/XPCConnectionTerminationWatchdog.h M Source/WebKit/UIProcess/Cocoa/XPCConnectionTerminationWatchdog.mm M Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm Log Message: ----------- Invalidate process object in XPC connection termination watchdog https://bugs.webkit.org/show_bug.cgi?id=273773 rdar://126373957 Reviewed by Chris Dumez. Invalidate process object instead of calling xpc_connection_kill. This will send a termination request which will terminate the process. This termination approach is only available for WebKit process extensions. * Source/WebKit/Platform/IPC/Connection.h: (IPC::Connection::Client::didRequestProcessTermination): * Source/WebKit/Platform/IPC/cocoa/ConnectionCocoa.mm: (IPC::Connection::kill): * Source/WebKit/Platform/cocoa/XPCUtilities.h: * Source/WebKit/Platform/cocoa/XPCUtilities.mm: * Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp: (WebKit::AuxiliaryProcessProxy::terminate): * Source/WebKit/UIProcess/AuxiliaryProcessProxy.h: * Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp: (WebKit::AuxiliaryProcessProxy::requestRemoteProcessTermination): * Source/WebKit/UIProcess/Cocoa/XPCConnectionTerminationWatchdog.h: * Source/WebKit/UIProcess/Cocoa/XPCConnectionTerminationWatchdog.mm: (WebKit::XPCConnectionTerminationWatchdog::watchdogTimerFired): * Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm: (WebKit::ProcessLauncher::terminateProcess): (WebKit::ProcessLauncher::terminateXPCConnection): Canonical link: https://commits.webkit.org/280261@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes