[webkit-changes] [WebKit/WebKit] 7f8393: Crash under WebPageProxy::resetStateAfterProcessTe...

Chris Dumez noreply at github.com
Sat Jun 29 19:42:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7f839364528de8cde2678aa52490c1ec36268d83
      https://github.com/WebKit/WebKit/commit/7f839364528de8cde2678aa52490c1ec36268d83
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Crash under WebPageProxy::resetStateAfterProcessTermination()
https://bugs.webkit.org/show_bug.cgi?id=276042
rdar://130066536

Reviewed by Per Arne Vollan.

Based on the crash reports, the pageClient can be null here but
protectedPageClient() assumes it is non-null. Therefore, we are
now calling optionalProtectedPageClient() instead.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::resetStateAfterProcessTermination):

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



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


More information about the webkit-changes mailing list