Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 12f4cb070f42ac1bdd21e1454346a451e61cd726
https://github.com/WebKit/WebKit/commit/12f4cb070f42ac1bdd21e1454346a451e61cd726
Author: Ben Nham <[email protected]>
Date: 2026-09-01 (Tue, 01 Sep 2026)
Changed paths:
M
LayoutTests/http/tests/site-isolation/only-broadcast-frame-geometry-if-remote-frame-exists.html
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
M Source/WebCore/page/ChromeClient.h
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/UIProcess/WebPageProxy.messages.in
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.h
M Source/WebKit/WebProcess/WebPage/WebPage.messages.in
Log Message:
-----------
[Site Isolation] Remove UpdateRemoteIntersectionObservers IPC
https://bugs.webkit.org/show_bug.cgi?id=323075
rdar://problem/186332884
Reviewed by Kiet Ho.
Currently, a document with any remote frames will send a
UpdateRemoteIntersectionObservers IPC to
all other processes that render the webpage when updating local
IntersectionObserver state. This is
basically a contentless message that tells all other processes to run
WebPage::updateRemoteIntersectionObservers.
This isn't necessary because it happens as part of the rendering update, and we
already send another
IPC unconditionally as part of each rendering update (the FrameGeometry IPC).
Instead of the
UpdateRemoteIntersectionObservers IPC, just call
updateRemoteIntersectionObservers() as part of
handling the FrameGeometry IPC in the remote process.
*
LayoutTests/http/tests/site-isolation/only-broadcast-frame-geometry-if-remote-frame-exists.html:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::updateIntersectionObservers):
* Source/WebCore/dom/Document.h:
* Source/WebCore/page/ChromeClient.h:
(WebCore::ChromeClient::updateRemoteIntersectionObserversInOtherWebProcesses):
Deleted.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::updateRemoteIntersectionObserversInOtherWebProcesses):
Deleted.
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.messages.in:
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::updateRemoteIntersectionObserversInOtherWebProcesses):
Deleted.
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::frameTreeSyncDataChangedInAnotherProcess):
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/WebPage/WebPage.messages.in:
Canonical link: https://commits.webkit.org/320300@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications