Bug 216261 - REGRESSION(r266634): fast/animation/request-animation-frame-throttling-lowPowerMode.html is flaky
Summary: REGRESSION(r266634): fast/animation/request-animation-frame-throttling-lowPow...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sihui Liu
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-07 21:15 PDT by Sihui Liu
Modified: 2020-09-10 10:40 PDT (History)
6 users (show)

See Also:


Attachments
Patch (4.42 KB, patch)
2020-09-07 21:27 PDT, Sihui Liu
no flags Details | Formatted Diff | Diff
Patch (5.09 KB, patch)
2020-09-08 15:15 PDT, Sihui Liu
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].