Bug 210084

Summary: Add release asserts to KeyframeEffectStack::ensureEffectsAreSorted()
Product: WebKit Reporter: Doug Kelly <dougk>
Component: AnimationsAssignee: Doug Kelly <dougk>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, ggaren, graouts, graouts, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Mac   
OS: macOS 10.15   
Attachments:
Description Flags
Patch
none
Patch none

Doug Kelly
Reported 2020-04-06 17:26:13 PDT
KeyframeEffectStack::ensureEffectsAreSorted() has several areas where either null pointers or an unexpected condition could cause a crash that's further away from the actual failure. To make these issues easier to detect and troubleshoot, add several RELEASE_ASSERTs to test these cases explicitly. <rdar://problem/61359275>
Attachments
Patch (3.25 KB, patch)
2020-04-06 17:30 PDT, Doug Kelly
no flags
Patch (3.26 KB, patch)
2020-04-06 20:23 PDT, Doug Kelly
no flags
Doug Kelly
Comment 1 2020-04-06 17:30:36 PDT
Doug Kelly
Comment 2 2020-04-06 20:23:48 PDT
EWS
Comment 3 2020-04-07 01:26:05 PDT
Committed r259630: <https://trac.webkit.org/changeset/259630> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395647 [details].
Note You need to log in before you can comment on or make changes to this bug.