Bug 204697

Summary: [Web Animations] Forward-filling animations should not schedule updates while filling
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, commit-queue, dino, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 204709    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch dino: review+

Description Antoine Quint 2019-11-29 02:16:07 PST
[Web Animations] Forward-filling animations should not schedule updates while filling
Comment 1 Antoine Quint 2019-11-29 02:36:11 PST
Created attachment 384493 [details]
Patch
Comment 2 Antoine Quint 2019-11-29 10:11:43 PST
Committed r252944: <https://trac.webkit.org/changeset/252944>
Comment 3 Radar WebKit Bug Importer 2019-11-29 10:12:19 PST
<rdar://problem/57534005>
Comment 4 Aakash Jain 2019-11-29 13:34:45 PST
(In reply to Antoine Quint from comment #2)
> Committed r252944: <https://trac.webkit.org/changeset/252944>
This broke Windows build with the error: 
WebAnimation.cpp(1325): warning C4715: 'WebCore::WebAnimation::timeToNextTick': not all control paths return a value

e.g.: https://build.webkit.org/builders/Apple%20Win%2010%20Release%20%28Build%29/builds/8702


This failure was also indicated by EWS.
Comment 5 WebKit Commit Bot 2019-11-29 13:50:58 PST
Re-opened since this is blocked by bug 204709
Comment 6 Antoine Quint 2019-11-30 04:26:13 PST
Created attachment 384540 [details]
Patch
Comment 7 Antoine Quint 2019-11-30 05:11:53 PST
Windows bots looking good with the new patch, which just adds a return clause after the switch statement in WebAnimation::timeToNextTick(). Not sure why that was required, the switch statement has a return state for all possible cases.
Comment 8 Antoine Quint 2019-11-30 05:15:58 PST
Committed r252957: <https://trac.webkit.org/changeset/252957>