Bug 236044

Summary: [macOS] Avoid CF preference calls before entering the sandbox
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: NEW ---    
Severity: Normal CC: bfulgham, gavin.p, ggaren, mazander, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
bfulgham: review+, ews-feeder: commit-queue-
Patch
ews-feeder: commit-queue-
Patch
ews-feeder: commit-queue-
Patch ews-feeder: commit-queue-

Description Per Arne Vollan 2022-02-02 15:48:59 PST
Since CF preferences are doing sandbox checks, we should avoid making CF preference calls before entering the sandbox.
Comment 1 Radar WebKit Bug Importer 2022-02-02 15:49:48 PST
<rdar://problem/88405607>
Comment 2 Per Arne Vollan 2022-02-03 08:12:52 PST
Created attachment 450772 [details]
Patch
Comment 3 Brent Fulgham 2022-02-03 08:59:24 PST
Comment on attachment 450772 [details]
Patch

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

Nice! r=me

> Source/WebCore/platform/cocoa/SystemVersion.mm:2
> + * Copyright (C) 2012, 2022 Apple Inc. All rights reserved.

We just write 2012-2022, not individual years.
Comment 4 Per Arne Vollan 2022-02-04 08:22:16 PST
Created attachment 450900 [details]
Patch
Comment 5 Per Arne Vollan 2022-02-04 09:58:56 PST
Created attachment 450912 [details]
Patch
Comment 6 Per Arne Vollan 2022-02-07 08:18:43 PST
Created attachment 451104 [details]
Patch