Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 693bc951a7a451aec2de43678b20145b376b7e5b
https://github.com/WebKit/WebKit/commit/693bc951a7a451aec2de43678b20145b376b7e5b
Author: Ben Nham <[email protected]>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
M Source/WebCore/Scripts/generate-process-sync-data.py
M Source/WebCore/Scripts/tests/TestSyncClient.cpp
M Source/WebCore/Scripts/tests/TestSyncClient.h
M Source/WebKit/Scripts/webkit/messages.py
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebDocumentSyncClient.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebDocumentSyncClient.h
M Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.h
M Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.h
M Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.h
Log Message:
-----------
[Site Isolation] Make FrameTreeSyncClient and DocumentSyncClient methods take
movable types
https://bugs.webkit.org/show_bug.cgi?id=323878
rdar://187122873
Reviewed by Alex Christensen.
This changes the sync clients to emit methods that take movable types. Some of
the data we send via
the sync clients (like FrameGeometrySyncData) are relatively large and are sent
at frame rate, so we
should avoid the extra copy.
* Source/WebCore/Scripts/generate-process-sync-data.py:
(generate_process_sync_client_header):
(generate_process_sync_client_impl):
* Source/WebCore/Scripts/tests/TestSyncClient.cpp:
(WebCore::TestSyncClient::broadcastAudioSessionTypeToOtherProcesses):
(WebCore::TestSyncClient::broadcastMainFrameURLChangeToOtherProcesses):
(WebCore::TestSyncClient::broadcastIsAutofocusProcessedToOtherProcesses):
(WebCore::TestSyncClient::broadcastUserDidInteractWithPageToOtherProcesses):
(WebCore::TestSyncClient::broadcastAnotherOneToOtherProcesses):
(WebCore::TestSyncClient::broadcastMultipleHeadersToOtherProcesses):
* Source/WebCore/Scripts/tests/TestSyncClient.h:
(WebCore::TestSyncClient::broadcastTestSyncDataToOtherProcesses):
* Source/WebKit/Scripts/webkit/messages.py:
(types_that_must_be_moved):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::broadcastDocumentSyncData):
(WebKit::WebPageProxy::broadcastFrameTreeSyncData):
* Source/WebKit/WebProcess/WebCoreSupport/WebDocumentSyncClient.cpp:
(WebKit::WebDocumentSyncClient::broadcastDocumentSyncDataToOtherProcesses):
* Source/WebKit/WebProcess/WebCoreSupport/WebDocumentSyncClient.h:
* Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::broadcastFrameTreeSyncDataToOtherProcesses):
* Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
* Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp:
(WebKit::WebLocalFrameLoaderClient::broadcastFrameTreeSyncDataToOtherProcesses):
* Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.h:
* Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.cpp:
(WebKit::WebRemoteFrameClient::broadcastFrameTreeSyncDataToOtherProcesses):
* Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.h:
Canonical link: https://commits.webkit.org/320879@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications