Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: afc6517319702e6e057c946e870b48a3dc67007e
https://github.com/WebKit/WebKit/commit/afc6517319702e6e057c946e870b48a3dc67007e
Author: Michael Catanzaro <[email protected]>
Date: 2026-03-21 (Sat, 21 Mar 2026)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
Cherry-pick 309620@main (fc2c9a74dbf1).
https://bugs.webkit.org/show_bug.cgi?id=303103
Crash in WebKit::WebPageProxy::resetStateAfterProcessExited when destroying
ProvisionalPageProxy
https://bugs.webkit.org/show_bug.cgi?id=303103
Reviewed by Chris Dumez.
I'm not sure what changed here, but we have a very frequent UI process
crash that's triggered by a web process crash. If the web process
crashes shortly before or after the user closes a web view, then the
PageClient has already been destroyed, and WebPageProxy::pageClient will
return nullptr. We need to null check before using it, a common pattern
throughout WebPageProxy.
Canonical link: https://commits.webkit.org/309620@main
Canonical link: https://commits.webkit.org/305877.245@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications