Bug 308806
| Summary: | [WTF] Improve RefCountDebugger::applyRefDerefThreadingCheck() to catch more bugs | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Web Template Framework | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
<rdar://169618659>
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/59563
EWS
Committed 308390@main (0be79662c168): <https://commits.webkit.org/308390@main>
Reviewed commits have been landed. Closing PR #59563 and removing active labels.