Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebIDL] Hoist protectedThis reference in JSEventListener::handleEvent()
https://bugs.webkit.org/show_bug.cgi?id=248328 Reviewed by Yusuke Suzuki. While this change is non-observable since the only caller of handleEvent(), innerInvokeEventListeners(), keeps it as RefPtr, theoretically both getCallData() and jsFunction->get() may remove currently running event listener and cause its destruction. * Source/WebCore/bindings/js/JSEventListener.cpp: (WebCore::JSEventListener::handleEvent): Canonical link: https://commits.webkit.org/257027@main
- Loading branch information