Bug 226066

Summary: [Cocoa] REGRESSION(Sandbox): Font smoothing within Safari doesn't seem to respect AppleFontSmoothing
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, pvollan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 228201    
Attachments:
Description Flags
Patch pvollan: review+

Description Myles C. Maxfield 2021-05-20 20:14:22 PDT
REGRESSION(Sandbox): Font smoothing within Safari doesn't seem to respect AppleFontSmoothing
Comment 1 Myles C. Maxfield 2021-05-20 20:16:33 PDT
Created attachment 429262 [details]
Patch
Comment 2 Myles C. Maxfield 2021-05-20 20:16:35 PDT
<rdar://problem/72795817>
Comment 3 Per Arne Vollan 2021-05-21 06:29:19 PDT
Comment on attachment 429262 [details]
Patch

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

R=me.

> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:2310
> +
> +#if ENABLE(CFPREFS_DIRECT_MODE)
> +(allow file-read*
> +    (home-regex "/Library/Preferences/ByHost/\.GlobalPreferences\..*\.plist$")
> +)
> +#endif

There's already a section with ENABLE(CFPREFS_DIRECT_MODE). Perhaps you could move this there to have it all in one place?
Comment 4 Myles C. Maxfield 2021-05-21 11:55:08 PDT
Committed r277873 (238011@main): <https://commits.webkit.org/238011@main>