Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2eb84fe633262f8af212ea5df3c610dd3501e2ff
      
https://github.com/WebKit/WebKit/commit/2eb84fe633262f8af212ea5df3c610dd3501e2ff
  Author: Tim Horton <[email protected]>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm

  Log Message:
  -----------
  _networkProcessIdentifier testing SPI crashes the UI process if the network 
process has crashed
https://bugs.webkit.org/show_bug.cgi?id=315599
rdar://177979321

Reviewed by Abrar Rahman Protyasha and Wenson Hsieh.

* Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm:
(-[WKWebView _networkProcessIdentifier]):
This SPI, which was added in 264382@main, is unlike all of its siblings.
Instead of returning 0 to represent "there is no such process", it 
RELEASE_ASSERTs
in the UI process. This makes it somewhat difficult to use in some testing 
scenarios.
Change it to behave like the variants for the web and GPU processes instead.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to