Skip to content

Commit

Permalink
[macOS] WebSQLiteDatabaseTracker and CFNetwork are unable to take Run…
Browse files Browse the repository at this point in the history
…ningBoard assertion inside the NetworkProcess

https://bugs.webkit.org/show_bug.cgi?id=259229
rdar://112292565

Reviewed by Per Arne Vollan.

WebSQLiteDatabaseTracker and CFNetwork are unable to take RunningBoard assertion
inside the NetworkProcess on macOS due to tighter sandboxing than on iOS. This
is causing the NetworkProcess to often get killed on suspension because it is
holding locked database files.

* Source/WebKit/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in:

Canonical link: https://commits.webkit.org/266075@main
  • Loading branch information
cdumez committed Jul 14, 2023
1 parent cb29a87 commit f2bb395
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -836,3 +836,8 @@
(global-name "com.apple.WebPrivacy.Service"))

#endif

#if USE(RUNNINGBOARD)
(allow mach-lookup
(global-name "com.apple.runningboard"))
#endif

0 comments on commit f2bb395

Please sign in to comment.