Bug 211782

Summary: [iOS] In CFPrefs direct mode, the WebContent sandbox needs to allow access to plist files
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, 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-05-12 08:55:04 PDT
Since preference files will be read directly in CFPrefs direct mode, the WebContent sandbox on iOS needs to allow reading these files.
Comment 1 Per Arne Vollan 2020-05-12 09:02:17 PDT
Created attachment 399132 [details]
Patch
Comment 2 Brent Fulgham 2020-05-13 12:09:24 PDT
Comment on attachment 399132 [details]
Patch

It's too bad these locations couldn't be vended dynamically.
Comment 3 Per Arne Vollan 2020-05-13 12:12:41 PDT
(In reply to Brent Fulgham from comment #2)
> Comment on attachment 399132 [details]
> Patch
> 
> It's too bad these locations couldn't be vended dynamically.

That's a good idea, I think they can. I can look into that in a follow-up patch.

Thanks for reviewing!
Comment 4 EWS 2020-05-13 12:14:21 PDT
Committed r261633: <https://trac.webkit.org/changeset/261633>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399132 [details].
Comment 5 Radar WebKit Bug Importer 2020-05-13 12:15:22 PDT
<rdar://problem/63194488>