[webkit-changes] [WebKit/WebKit] 573f21: Unify message checks for network process
Ryosuke Niwa
noreply at github.com
Thu Aug 15 16:10:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 573f2126f63fc8c6b93cd4a961d578f43d2d651a
https://github.com/WebKit/WebKit/commit/573f2126f63fc8c6b93cd4a961d578f43d2d651a
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-08-15 (Thu, 15 Aug 2024)
Changed paths:
M Source/WebKit/NetworkProcess/NetworkBroadcastChannelRegistry.cpp
M Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp
M Source/WebKit/NetworkProcess/SharedWorker/WebSharedWorkerServerConnection.cpp
Log Message:
-----------
Unify message checks for network process
https://bugs.webkit.org/show_bug.cgi?id=278142
Reviewed by Mike Wyrzykowski.
Unify the implementation of MESSAGE_CHECK in network process to terminate the web process
via NetworkConnectionToWebProcess::didReceiveInvalidMessage.
* Source/WebKit/NetworkProcess/NetworkBroadcastChannelRegistry.cpp:
(WebKit::NetworkBroadcastChannelRegistry::registerChannel):
(WebKit::NetworkBroadcastChannelRegistry::unregisterChannel):
(WebKit::NetworkBroadcastChannelRegistry::postMessage):
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::didFailMessageCheck):
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h:
* Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp:
(WebKit::WebSWServerConnection::scheduleJobInServer):
(WebKit::WebSWServerConnection::registerServiceWorkerClient):
(WebKit::WebSWServerConnection::registerServiceWorkerClientInternal):
(WebKit::WebSWServerConnection::unregisterServiceWorkerClient):
* Source/WebKit/NetworkProcess/SharedWorker/WebSharedWorkerServerConnection.cpp:
(WebKit::WebSharedWorkerServerConnection::requestSharedWorker):
(WebKit::WebSharedWorkerServerConnection::sharedWorkerObjectIsGoingAway):
(WebKit::WebSharedWorkerServerConnection::suspendForBackForwardCache):
(WebKit::WebSharedWorkerServerConnection::resumeForBackForwardCache):
Canonical link: https://commits.webkit.org/282317@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list