Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a988e4921ecf818ab550d4c4ce95a0e81577d3fc
https://github.com/WebKit/WebKit/commit/a988e4921ecf818ab550d4c4ce95a0e81577d3fc
Author: Antoine Quint <[email protected]>
Date: 2026-03-11 (Wed, 11 Mar 2026)
Changed paths:
A
LayoutTests/webanimations/threaded-animations/empty-filter-single-property-animation-crash-expected.txt
A
LayoutTests/webanimations/threaded-animations/empty-filter-single-property-animation-crash.html
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimationStack.mm
Log Message:
-----------
[threaded-animations] animating empty filter yields
`<CAPresentationModifierGroup: 0x8a6523d50>: cannot create group with 0
capacity` exception
https://bugs.webkit.org/show_bug.cgi?id=309656
rdar://172263428
Reviewed by Simon Fraser.
Ensure we don't create empty `CAPresentationModifierGroup` in the case where we
have an empty `filter` animation.
Other properties aren't affected because they will always yield a value, even
though it's a no-op value, but filters
do not work that way.
Test:
webanimations/threaded-animations/empty-filter-single-property-animation-crash.html
*
LayoutTests/webanimations/threaded-animations/empty-filter-single-property-animation-crash-expected.txt:
Added.
*
LayoutTests/webanimations/threaded-animations/empty-filter-single-property-animation-crash.html:
Added.
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimationStack.mm:
(WebKit::RemoteAnimationStack::initEffectsFromMainThread):
(WebKit::RemoteAnimationStack::applyEffects const):
(WebKit::RemoteAnimationStack::clear):
Canonical link: https://commits.webkit.org/309058@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications