Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7dc2a5e431ad4272f6bff1d8fc4c8b84bf0d8653
https://github.com/WebKit/WebKit/commit/7dc2a5e431ad4272f6bff1d8fc4c8b84bf0d8653
Author: Ryosuke Niwa <[email protected]>
Date: 2026-01-06 (Tue, 06 Jan 2026)
Changed paths:
M Source/WebCore/dom/EventListenerMap.h
Log Message:
-----------
Occasional release assert failure in EventListenerMap::clearEntriesForTearDown
https://bugs.webkit.org/show_bug.cgi?id=304961
<rdar://166613518>
Reviewed by Chris Dumez.
When a GC thread sweeps an event target, the release assertion in
releaseAssertOrSetThreadUID() could fail as the thread ID will not match.
Allow a GC thread to tear down EventTarget used in another thread.
No new tests since we don't have a reliable reproduction.
* Source/WebCore/dom/EventListenerMap.h:
(WebCore::EventListenerMap::releaseAssertOrSetThreadUID):
Canonical link: https://commits.webkit.org/305171@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications