Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e85db8cad558731c6a5a20a506d7240b39fb25d6
      
https://github.com/WebKit/WebKit/commit/e85db8cad558731c6a5a20a506d7240b39fb25d6
  Author: Ryosuke Niwa <[email protected]>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M Source/WebCore/dom/EventListenerMap.cpp
    M Source/WebCore/dom/EventListenerMap.h

  Log Message:
  -----------
  Add thread safety assertion in EventListenerMap
https://bugs.webkit.org/show_bug.cgi?id=292397

Reviewed by David Kilzer.

Add release assertion to EventListenerMap to catch potential thread safety 
issues.

* Source/WebCore/dom/EventListenerMap.cpp:
(WebCore::EventListenerMap::clear):
(WebCore::EventListenerMap::replace):
(WebCore::EventListenerMap::add):
(WebCore::EventListenerMap::remove):
(WebCore::EventListenerMap::removeFirstEventListenerCreatedFromMarkup):
* Source/WebCore/dom/EventListenerMap.h:
(WebCore::EventListenerMap::clearEntriesForTearDown):
(WebCore::EventListenerMap::releaseAssertOrSetThreadUID):

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