Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 185df3583c95ad7017f07422158629f366392689
      
https://github.com/WebKit/WebKit/commit/185df3583c95ad7017f07422158629f366392689
  Author: Brady Eidson <[email protected]>
  Date:   2026-09-26 (Sat, 26 Sep 2026)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
    A Tools/TestWebKitAPI/Helpers/cocoa/SiteIsolationTestUtilities.h
    A Tools/TestWebKitAPI/Helpers/cocoa/SiteIsolationTestUtilities.mm
    M Tools/TestWebKitAPI/SourcesCocoa.txt
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm

  Log Message:
  -----------
  [Site Isolation] Page-wide editing state changes don't reach cross-origin 
iframe processes
rdar://188450997
https://bugs.webkit.org/show_bug.cgi?id=325346

Reviewed by Anne van Kesteren.

Send key editing state related messages to all WebContent processes instead of 
just one.

Also start splitting off useful utility methods from the monolight 
SiteIsolation.mm into
a shared utility method/class file.

Tests: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setNeedsFontAttributes):
(WebKit::WebPageProxy::setEditable):
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::setShouldRevealCurrentSelectionAfterInsertion):
* Tools/TestWebKitAPI/Helpers/cocoa/SiteIsolationTestUtilities.h: Added.
* Tools/TestWebKitAPI/Helpers/cocoa/SiteIsolationTestUtilities.mm: Added.
(TestWebKitAPI::setFeatureEnabled):
(TestWebKitAPI::enableSiteIsolation):
(TestWebKitAPI::siteIsolatedViewAndDelegate):
(TestWebKitAPI::webViewWithFocusedCrossOriginIframe):
(TestWebKitAPI::setSelectionInFrame):
* Tools/TestWebKitAPI/SourcesCocoa.txt:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation-1.mm:
(-[SiteIsolationFontAttributesListener _webView:didChangeFontAttributes:]):
(-[SiteIsolationFontAttributesListener lastFontAttributes]):
(TestWebKitAPI::TEST(SiteIsolation, SetEditableAfterCrossOriginIframeLoads)):
(TestWebKitAPI::TEST(SiteIsolation, 
FontAttributesDelegateSetAfterFocusingCrossOriginIframe)):
(TestWebKitAPI::TEST(SiteIsolation, 
SelectionChangesInCrossOriginIframeAreIgnoredDuringTextInteraction)):
(TestWebKitAPI::webViewWithFocusedCrossOriginIframe): Deleted.
(TestWebKitAPI::setSelectionInFrame): Deleted.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TestWebKitAPI::setFeatureEnabled): Deleted.
(TestWebKitAPI::enableSiteIsolation): Deleted.
(TestWebKitAPI::siteIsolatedViewAndDelegate): Deleted.

Canonical link: https://commits.webkit.org/321992@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to