Bug 293108
| Summary: | [scroll-animations] debug assertion hit under `JSCell::classInfo()` during document teardown when the last Document reference is dereferenced | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antoine Quint <graouts> |
| Component: | Animations | Assignee: | Antoine Quint <graouts> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | graouts, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=294105 | ||
Antoine Quint
In case the document is torn down due to its last reference being dereferenced, we can hit this debug assertion under `JSCell::classInfo()` because we try to resolve the ready promise of a scroll-driven animation:
ASSERT(vm().heap.mutatorState() != MutatorState::Sweeping || !vm().currentThreadIsHoldingAPILock());
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Antoine Quint
rdar://151306277
Antoine Quint
Pull request: https://github.com/WebKit/WebKit/pull/45484
EWS
Committed 295009@main (cdbbd6521df5): <https://commits.webkit.org/295009@main>
Reviewed commits have been landed. Closing PR #45484 and removing active labels.