Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d6185a3f1c1cc3dfeeecc81de3d18f5a93f9a293
      
https://github.com/WebKit/WebKit/commit/d6185a3f1c1cc3dfeeecc81de3d18f5a93f9a293
  Author: Charlie Wolfe <[email protected]>
  Date:   2025-09-09 (Tue, 09 Sep 2025)

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

  Log Message:
  -----------
  Crash in `WebPageProxy::contextMenuItemSelected`
https://bugs.webkit.org/show_bug.cgi?id=298619
rdar://153252571

Reviewed by Aditya Keerthi.

It’s possible for AppKit to call WebPageProxy::contextMenuItemSelected after 
the page is closed, where
WebPageProxy::inspector will return null. Add a null check to avoid crashing.

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

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to