RESOLVED FIXED Bug 209423
[Web Animations] Refactor cancelDeclarativeAnimationsForElement and willDestroyRendererForElement on AnimationTimeline
https://bugs.webkit.org/show_bug.cgi?id=209423
Summary [Web Animations] Refactor cancelDeclarativeAnimationsForElement and willDestr...
Antoine Quint
Reported 2020-03-23 06:44:16 PDT
[Web Animations] Refactor cancelDeclarativeAnimationsForElement and willDestroyRendererForElement on AnimationTimeline
Attachments
Patch (8.68 KB, patch)
2020-03-23 06:47 PDT, Antoine Quint
koivisto: review+
Antoine Quint
Comment 1 2020-03-23 06:47:04 PDT
Antti Koivisto
Comment 2 2020-03-23 06:54:56 PDT
Comment on attachment 394259 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=394259&action=review > Source/WebCore/animation/WebAnimation.h:96 > + virtual void cancel(Silently = Silently::No); Maybe Silently could be renamed to something more descriptive? enum class CancelType { CompletePromises, DontCompletePromises } or whatever the appropriate terminology is?
Antoine Quint
Comment 3 2020-03-23 07:05:49 PDT
(In reply to Antti Koivisto from comment #2) > Comment on attachment 394259 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=394259&action=review > > > Source/WebCore/animation/WebAnimation.h:96 > > + virtual void cancel(Silently = Silently::No); > > Maybe Silently could be renamed to something more descriptive? > > enum class CancelType { CompletePromises, DontCompletePromises } > > or whatever the appropriate terminology is? After discussing directly with Antti, we figured that because this did not involve just promise rejection, but dispatch of the "cancel" event and timeline notification, that the "Silently" term was not so bad after all and would keep it as-is.
Antoine Quint
Comment 4 2020-03-23 07:41:14 PDT
Radar WebKit Bug Importer
Comment 5 2020-03-23 07:42:17 PDT
Note You need to log in before you can comment on or make changes to this bug.