<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>232745</bug_id>
          
          <creation_ts>2021-11-04 22:31:04 -0700</creation_ts>
          <short_desc>REGRESSION(r282490 r282383) [WPE] fast/animation/request-animation-frame-throttling-lowPowerMode.html is timing out</short_desc>
          <delta_ts>2021-11-05 00:02:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=230214</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=230307</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>magomez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1812075</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2021-11-04 22:31:04 -0700</bug_when>
    <thetext>fast/animation/request-animation-frame-throttling-lowPowerMode.html

It was passing before r282383, after which it started failing. And after r282490, it&apos;s always timing out. The frame rate setting is correctly halved to 30 (calculated by AnimationFrameRate.cpp), but somehow the second requestAnimationFrame callback is called only after the test times out.

Diff of the failure before r282490:

--- /home/lauro/dev/WebKit/layout-test-results/fast/animation/request-animation-frame-throttling-lowPowerMode-expected.txt
+++ /home/lauro/dev/WebKit/layout-test-results/fast/animation/request-animation-frame-throttling-lowPowerMode-actual.txt
@@ -1,9 +1,10 @@
+ALERT: actual framesPerSecond 61
 Test that requestAnimationFrame gets throttled in low power mode.
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS framesPerSecond &lt; 36 is true
+FAIL framesPerSecond &lt; 36 should be true. Was false.
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>