Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 14b38994981d8973f2ef02e3e141387d5dc4fce5
https://github.com/WebKit/WebKit/commit/14b38994981d8973f2ef02e3e141387d5dc4fce5
Author: Alex Christensen <[email protected]>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M Source/WebKit/UIProcess/PageClient.h
M Source/WebKit/UIProcess/ios/PageClientImplIOS.h
M Source/WebKit/UIProcess/ios/PageClientImplIOS.mm
M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
Log Message:
-----------
Focusing element in new process should blur element in old process with site
isolation enabled
https://bugs.webkit.org/show_bug.cgi?id=323676
rdar://179498646
Reviewed by Sihui Liu.
WebPageProxy has some iOS-specific logic, and [_WKInputDelegate
willStartInputSession] was not
being called when tapping on different iframes in different processes. When
this happens,
we need to blur an element the IPC-sending process was not aware of.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
* Source/WebKit/UIProcess/PageClient.h:
* Source/WebKit/UIProcess/ios/PageClientImplIOS.h:
* Source/WebKit/UIProcess/ios/PageClientImplIOS.mm:
(WebKit::PageClientImpl::hasFocusedElement const):
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::elementDidFocus):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TestWebKitAPI::(SiteIsolation,
RefocusingCrossOriginIframeFieldStartsInputSessionAgain)):
Canonical link: https://commits.webkit.org/321116@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications