| Summary: | [macOS] Correct two sandbox typos | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||
| Component: | WebKit Misc. | Assignee: | Brent Fulgham <bfulgham> | ||||
| 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: | 226066, 228112 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
Created attachment 434038 [details]
Patch
Comment on attachment 434038 [details]
Patch
R=me.
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]. |
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.