Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a925498ca136fcd8de543d406e3cab73c876a4f2
      
https://github.com/WebKit/WebKit/commit/a925498ca136fcd8de543d406e3cab73c876a4f2
  Author: Alex Christensen <[email protected]>
  Date:   2024-04-01 (Mon, 01 Apr 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm

  Log Message:
  -----------
  Send WebPage::PreferencesDidChange to all processes with site isolation 
enabled
https://bugs.webkit.org/show_bug.cgi?id=271999
rdar://125740635

Reviewed by Charlie Wolfe.

I also added test SPI to evaluate JS in a child frame without a user gesture so 
I could use
the success of window.open without a user gesture to test the success of 
updating preferences
in an iframe's process.

* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView 
_evaluateJavaScript:withSourceURL:inFrame:inContentWorld:withUserGesture:completionHandler:]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::preferencesDidChange):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm:
(TestWebKitAPI::TEST):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to