Bug 212910

Summary: All platforms should enable CFPrefs read only mode in the WebContent process
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, bfulgham, cdumez, cmarcelo, darin, ews-watchlist, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Per Arne Vollan 2020-06-08 12:33:00 PDT
In https://bugs.webkit.org/show_bug.cgi?id=212411, CFPrefs read only mode was adopted, but not all platforms were included.
Comment 1 Per Arne Vollan 2020-06-08 12:34:32 PDT
Created attachment 401358 [details]
Patch
Comment 2 Tim Horton 2020-06-08 12:37:55 PDT
Comment on attachment 401358 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=401358&action=review

> Source/WTF/wtf/PlatformHave.h:646
> +    || ((PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) \

How certain are you that IPHONE_OS_VERSION is the right one to check in macCatalyst? (I think it's not, but I am not 100%)
Comment 3 Tim Horton 2020-06-08 18:26:02 PDT
(In reply to Tim Horton from comment #2)
> Comment on attachment 401358 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=401358&action=review
> 
> > Source/WTF/wtf/PlatformHave.h:646
> > +    || ((PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) \
> 
> How certain are you that IPHONE_OS_VERSION is the right one to check in
> macCatalyst? (I think it's not, but I am not 100%)

It is! Disregard me.
Comment 4 Per Arne Vollan 2020-06-09 12:33:10 PDT
Comment on attachment 401358 [details]
Patch

Thanks for reviewing!
Comment 5 EWS 2020-06-09 12:57:21 PDT
Committed r262805: <https://trac.webkit.org/changeset/262805>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 401358 [details].
Comment 6 Radar WebKit Bug Importer 2020-06-09 12:58:15 PDT
<rdar://problem/64176093>