WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antoine Quint
Comment 1
2020-03-23 06:47:04 PDT
Created
attachment 394259
[details]
Patch
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
Committed
r258842
: <
https://trac.webkit.org/changeset/258842
>
Radar WebKit Bug Importer
Comment 5
2020-03-23 07:42:17 PDT
<
rdar://problem/60774456
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug