Bug 209423

Summary: [Web Animations] Refactor cancelDeclarativeAnimationsForElement and willDestroyRendererForElement on AnimationTimeline
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, pdr, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

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.