[webkit-changes] [WebKit/WebKit] 778b42: REGRESSION (256117 at main): Unable to toggle network...
Wenson Hsieh
noreply at github.com
Mon Oct 31 18:33:24 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 778b4272eb823f94bfb1162f0aa935096b09f105
https://github.com/WebKit/WebKit/commit/778b4272eb823f94bfb1162f0aa935096b09f105
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKWebpagePreferences.mm
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm
Log Message:
-----------
REGRESSION (256117 at main): Unable to toggle network connection integrity using `-_setNetworkConnectionIntegrityEnabled:`
https://bugs.webkit.org/show_bug.cgi?id=247246
Reviewed by Tim Horton.
* Source/WebKit/UIProcess/API/Cocoa/WKWebpagePreferences.mm:
(-[WKWebpagePreferences _setNetworkConnectionIntegrityEnabled:]):
Add or remove the `Enabled` flag, instead of unconditionally adding the flag.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
Add a simple API test to exercise the change.
Canonical link: https://commits.webkit.org/256179@main
More information about the webkit-changes
mailing list