[webkit-changes] [WebKit/WebKit] 3022cd: Skip fault and debug logs when logd is blocked

Per Arne Vollan noreply at github.com
Fri May 26 08:39:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3022cdc9fa3b578bf8c4842b7989e9dd72b6dc28
      https://github.com/WebKit/WebKit/commit/3022cdc9fa3b578bf8c4842b7989e9dd72b6dc28
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-05-26 (Fri, 26 May 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  Skip fault and debug logs when logd is blocked
https://bugs.webkit.org/show_bug.cgi?id=257211
rdar://109723241

Reviewed by Brent Fulgham.

Skip fault and debug logs when logd is blocked in the sandbox, since logd is currently only blocked in
non internal builds.

* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::logOnBehalfOfWebContent):
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::registerLogHook):

Canonical link: https://commits.webkit.org/264584@main




More information about the webkit-changes mailing list