RESOLVED FIXED308806
[WTF] Improve RefCountDebugger::applyRefDerefThreadingCheck() to catch more bugs
https://bugs.webkit.org/show_bug.cgi?id=308806
Summary [WTF] Improve RefCountDebugger::applyRefDerefThreadingCheck() to catch more bugs
Chris Dumez
Reported 2026-02-27 00:26:09 PST
Improve RefCountDebugger::applyRefDerefThreadingCheck() to catch more bugs. In particular, we now make sure the refcount always gets incremented on the same thread / serial work queue by leveraging ThreadLikeAssertion. Previously, the code would only distinguish main thread vs non-main thread. I have also bumped the ASSERT to be an ASSERT_WITH_SECURITY_IMPLICATIONS.
Attachments
Chris Dumez
Comment 1 2026-02-27 00:26:18 PST
Chris Dumez
Comment 2 2026-02-27 00:29:46 PST
EWS
Comment 3 2026-02-27 23:28:34 PST
Committed 308390@main (0be79662c168): <https://commits.webkit.org/308390@main> Reviewed commits have been landed. Closing PR #59563 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.