Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e36299743f8d2543153358221fb8a46438a30c2
      
https://github.com/WebKit/WebKit/commit/5e36299743f8d2543153358221fb8a46438a30c2
  Author: Yury Semikhatsky <[email protected]>
  Date:   2025-10-20 (Mon, 20 Oct 2025)

  Changed paths:
    M Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
    M Source/WebCore/inspector/agents/InspectorDOMAgent.h

  Log Message:
  -----------
  REGRESSION(301701@main): Web Inspector: crash in EventFiredCallback
https://bugs.webkit.org/show_bug.cgi?id=301146

Reviewed by Devin Rousso.

EventFiredCallback can live after its InspectorDOMAgent
has been destroyed. It can be collected in a later GC
cycle along with the DOM bindings at which point the reference
to the DOM agent is invalid. Use WeakPtr to avoid a crash
there.

* Source/WebCore/inspector/agents/InspectorDOMAgent.cpp:
* Source/WebCore/inspector/agents/InspectorDOMAgent.h:

Canonical link: https://commits.webkit.org/301844@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