[webkit-changes] [WebKit/WebKit] a92549: Send WebPage::PreferencesDidChange to all processe...
Alex Christensen
noreply at github.com
Mon Apr 1 21:07:36 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a925498ca136fcd8de543d406e3cab73c876a4f2
https://github.com/WebKit/WebKit/commit/a925498ca136fcd8de543d406e3cab73c876a4f2
Author: Alex Christensen <achristensen at apple.com>
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
More information about the webkit-changes
mailing list