RESOLVED FIXED308941
Update WeakPtr threading assertions to catch more bugs
https://bugs.webkit.org/show_bug.cgi?id=308941
Summary Update WeakPtr threading assertions to catch more bugs
Chris Dumez
Reported 2026-03-01 17:45:22 PST
Update WeakPtr threading assertions to catch more bugs: - Leverage ThreadLikeAssertion instead of a simple `wasConstructedOnMainThread` boolean to distinguish different threads / work queues. - Promote assertion to ASSERT_WITH_SECURITY_IMPLICATION
Attachments
Chris Dumez
Comment 1 2026-03-01 17:47:14 PST
EWS
Comment 2 2026-03-02 14:56:10 PST
Committed 308485@main (293a7d44cdd5): <https://commits.webkit.org/308485@main> Reviewed commits have been landed. Closing PR #59686 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-03-02 14:57:11 PST
Jonathan Bedard
Comment 4 2026-03-03 08:46:21 PST
Reopened Bugzilla. REGRESSION(308485@main): Use of undeclared identifier 'm_shouldEnableAssertions', tracking revert in https://bugs.webkit.org/show_bug.cgi?id=309074.
Chris Dumez
Comment 5 2026-03-03 15:01:38 PST
EWS
Comment 6 2026-03-03 21:25:29 PST
Committed 308610@main (10945fb82e3a): <https://commits.webkit.org/308610@main> Reviewed commits have been landed. Closing PR #59836 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.