Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: a90706fe4a1ba3518fb178e08fb0f7e5d15e75ee
      
https://github.com/WebKit/WebKit/commit/a90706fe4a1ba3518fb178e08fb0f7e5d15e75ee
  Author: Rupin Mittal <[email protected]>
  Date:   2026-08-10 (Mon, 10 Aug 2026)

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

  Log Message:
  -----------
  Cherry-pick 317758@main (38e3c810c7af). 
https://bugs.webkit.org/show_bug.cgi?id=320013

Unreviewed backport.

    StabilityTracer: Crash in WebKit::WebPageProxy::activityStateDidChange
    https://bugs.webkit.org/show_bug.cgi?id=320013
    rdar://182529810

    Reviewed by Alex Christensen.

    We crash in WebPageProxy::activityStateDidChange() because WebPageProxy's
    m_pageClient is null and we attempt to access it. This state is possible
    when the WebViewImpl is being destroyed (it's the sole owner of PageClient)
    but the WebPageProxy is still alive because something else refs it. Null
    checking m_pageClient is common practice in the WebPageProxy code likely
    for this reason. Since activityStateDidChange() relies on data from the
    PageClient, we can early return if it isn't alive.

    This is a speculative fix.

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

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

Canonical link: https://commits.webkit.org/305877.1077@webkitglib/2.52



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

Reply via email to