Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a044e7b9df9d432a99610756f13b264cac4064ec
https://github.com/WebKit/WebKit/commit/a044e7b9df9d432a99610756f13b264cac4064ec
Author: Ronan Turner <[email protected]>
Date: 2026-03-11 (Wed, 11 Mar 2026)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/EnhancedSecurity.mm
M Tools/TestWebKitAPI/Tests/WebKitCocoa/EnhancedSecurityPolicies.mm
Log Message:
-----------
Introduce a preference to force disable Enhanced Security
https://bugs.webkit.org/show_bug.cgi?id=309367
rdar://171924997
Reviewed by Abrar Rahman Protyasha.
For testing purposes, it is valuable to have a preference which allows forcing
Enhanced Security to be disabled, even when other mechanisms would enable it.
Adds two additional API tests that check this works:
* EnhancedSecurity.ForceDisabledOverridesSecurityRestrictionMode
* EnhancedSecurityPolicies.ForceDisabledOverridesHeuristics
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::receivedNavigationActionPolicyDecision):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/EnhancedSecurity.mm:
(TestWebKitAPI::TEST(EnhancedSecurity,
ForceDisabledOverridesSecurityRestrictionMode)):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/EnhancedSecurityPolicies.mm:
(runForceDisabledOverridesHeuristics):
Canonical link: https://commits.webkit.org/309055@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications