Bug 228201

Summary: [macOS] Correct two sandbox typos
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Severity: Normal CC: bfulgham, pvollan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 226066, 228112    
Bug Blocks:    
Description Flags
Patch none

Description Brent Fulgham 2021-07-22 14:58:11 PDT
While investigating a bug I noticed two typos in the sandbox file:

(1) A regex is defined improperly:

    (home-regex "/Library/Preferences/ByHost/\.GlobalPreferences\..*\.plist$")

... should be:

    (home-regex #"/Library/Preferences/ByHost/\.GlobalPreferences\..*\.plist$")

(2) I broke an "(if " form by adding a second rule, which made the original rule become the "else" part of the logic.
Comment 1 Radar WebKit Bug Importer 2021-07-22 14:58:27 PDT
Comment 2 Brent Fulgham 2021-07-22 15:07:40 PDT
Created attachment 434038 [details]
Comment 3 Per Arne Vollan 2021-07-22 15:10:12 PDT
Comment on attachment 434038 [details]

Comment 4 EWS 2021-07-22 15:49:00 PDT
Committed r280203 (239891@main): <https://commits.webkit.org/239891@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 434038 [details].