Bug 216261

Summary: REGRESSION(r266634): fast/animation/request-animation-frame-throttling-lowPowerMode.html is flaky
Product: WebKit Reporter: Sihui Liu <sihui_liu>
Component: New BugsAssignee: Sihui Liu <sihui_liu>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, darin, sabouhallawa, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Sihui Liu 2020-09-07 21:15:13 PDT
...
Comment 1 Sihui Liu 2020-09-07 21:27:24 PDT
Created attachment 408209 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2020-09-08 09:46:57 PDT
<rdar://problem/68513429>
Comment 3 Darin Adler 2020-09-08 11:59:34 PDT
Comment on attachment 408209 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=408209&action=review

> Source/WebKit/ChangeLog:9
> +        Do not schedule rendering update if we don't need to handle activity state change callbacks, as we did not
> +        schedule activity state timer before r266634.

This stops *just* short of saying why we should make this change. I understand that it restore the old behavior and we did not need to change it. But why is the old behavior correct/better? Any why does that help fix "flakiness". Those are left mysterious by this comment.
Comment 4 Sihui Liu 2020-09-08 15:15:52 PDT
Created attachment 408272 [details]
Patch
Comment 5 Sihui Liu 2020-09-08 15:25:02 PDT
(In reply to Darin Adler from comment #3)
> Comment on attachment 408209 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=408209&action=review
> 
> > Source/WebKit/ChangeLog:9
> > +        Do not schedule rendering update if we don't need to handle activity state change callbacks, as we did not
> > +        schedule activity state timer before r266634.
> 
> This stops *just* short of saying why we should make this change. I
> understand that it restore the old behavior and we did not need to change
> it. But why is the old behavior correct/better? Any why does that help fix
> "flakiness". Those are left mysterious by this comment.

Updated ChangeLog after digging into it. Looks like there is actually nothing wrong about the current behavior, so we may also fix this by changing test expectation. Maybe Simon or Said can comment about this.
Comment 6 EWS 2020-09-10 10:40:35 PDT
Committed r266838: <https://trac.webkit.org/changeset/266838>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 408272 [details].