Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a8a3ab1f03e156bc1e8fbddbfd161dc64cf9795b
https://github.com/WebKit/WebKit/commit/a8a3ab1f03e156bc1e8fbddbfd161dc64cf9795b
Author: Per Arne Vollan <[email protected]>
Date: 2025-12-08 (Mon, 08 Dec 2025)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
[Site Isolation] WebContent processes in iframes can start up without correct
activity state
https://bugs.webkit.org/show_bug.cgi?id=303692
rdar://165979299
Reviewed by Sihui Liu.
We aim to keep the activity states in sync between the main frame WebContent
process and the iframe WebContent
processes. See e.g. WebPageProxy::takeVisibleActivity(), where the visible
activity is being taken on the main
frame process and iframe processes. Currently, an iframe WebContent process can
be started without the right
set of activities. In WebPageProxy::takeActivitiesOnRemotePage, we are only
taking the visible and network
activity, but we should be taking the other activity types too if the main
frame process has them. Otherwise,
we depend on the activities to be set when activity state is changing, which is
not happening deterministically.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::takeActivitiesOnRemotePage):
Canonical link: https://commits.webkit.org/304106@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications