[webkit-changes] [WebKit/WebKit] f71852: Revise check for Lockdown Mode enablement
EWS
noreply at github.com
Sat Mar 4 15:20:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f71852e43526a118eb5a225b637862ba114dd82a
https://github.com/WebKit/WebKit/commit/f71852e43526a118eb5a225b637862ba114dd82a
Author: Brent Fulgham <bfulgham at webkit.org>
Date: 2023-03-04 (Sat, 04 Mar 2023)
Changed paths:
M Source/WTF/wtf/PlatformHave.h
M Source/WebKit/UIProcess/API/Cocoa/_WKSystemPreferences.mm
Log Message:
-----------
Revise check for Lockdown Mode enablement
https://bugs.webkit.org/show_bug.cgi?id=253268
<rdar://problem/101775825>
Reviewed by Darin Adler.
Checking an NSUserDefault directly for Lockdown Mode is clunky. Instead, we should use
a less clunky method to check the status.
* Source/WTF/wtf/PlatformHave.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKSystemPreferences.mm:
(+[_WKSystemPreferences isCaptivePortalModeEnabled]):
Canonical link: https://commits.webkit.org/261233@main
More information about the webkit-changes
mailing list