Clean up the WebKit Sandbox rules to use the modern syntax: Change from: ;; Read-only preferences and data (allow file-read* … (home-literal "/Library/Preferences/com.apple.ATS.plist") (home-literal "/Library/Preferences/com.apple.CoreGraphics.plist") etc. To: (allow user-preference-read (preference-domain “com.apple.ATS” “com.apple.CoreGraphics” etc.)) Also get rid of duplicated macro and function definitions that are part of the core sandbox language.
<rdar://problem/26898991>
Created attachment 295992 [details] Patch
Created attachment 295995 [details] Patch
Note: The changes in these sandbox profiles have been confirmed (with the Sandbox team) to be compatible with macOS 10.9 and newer.
Committed r209280: <http://trac.webkit.org/changeset/209280>