Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5a279c49d7d3d9a101b7a315729d9da7f5c2b441
      
https://github.com/WebKit/WebKit/commit/5a279c49d7d3d9a101b7a315729d9da7f5c2b441
  Author: Youenn Fablet <[email protected]>
  Date:   2026-02-18 (Wed, 18 Feb 2026)

  Changed paths:
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp

  Log Message:
  -----------
  [macOS Debug]: ASSERTION FAILED: m_wrapper 
/Volumes/Data/worker/macOS-Tahoe-Debug-Build-EWS/build/Source/WebCore/bindings/js/JSEventListener.h(168)
 : JSC::JSObject 
*WebCore::JSEventListener::ensureJSFunction(ScriptExecutionContext &) const
rdar://169044514
https://bugs.webkit.org/show_bug.cgi?id=306379

Reviewed by Eric Carlson.

As per https://w3c.github.io/webrtc-pc/#garbage-collection, a connection can be 
GCed when its closed slot is true,
as no event should be fired on a closed connection.
We update RTCPeerConnection::scheduleEvent lambda to exit early if the 
connection is closed.

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



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

Reply via email to