Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 57dbb9ebb9efdad7c158a764f4f735bec8965b06
https://github.com/WebKit/WebKit/commit/57dbb9ebb9efdad7c158a764f4f735bec8965b06
Author: Jessica Lee <[email protected]>
Date: 2026-10-04 (Sun, 04 Oct 2026)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm
Log Message:
-----------
[Site Isolation] _willBeginTextInteractionInTextInputContext does not hide
the placeholder for elements in cross-site iframes
https://bugs.webkit.org/show_bug.cgi?id=326058
rdar://188992115
Reviewed by Alex Christensen.
WebPageProxy::setCanShowPlaceholder sends WebPage::SetCanShowPlaceholder to the
main frame process only, so elements in a cross-site
iframe process weren't resolved and their placeholder visibility was never
updated. The fix is to send the message to the appropriate
iframe process which is identified by the context's document identifier.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setCanShowPlaceholder):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm:
(TestWebKitAPI::TEST(SiteIsolation,
SetCanShowPlaceholderForElementInCrossOriginIframe)):
Canonical link: https://commits.webkit.org/322645@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications