Bug 232745

Summary: REGRESSION(r282490 r282383) [WPE] fast/animation/request-animation-frame-throttling-lowPowerMode.html is timing out
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, cgarcia, magomez
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=230214

Description Lauro Moura 2021-11-04 22:31:04 PDT

It was passing before r282383, after which it started failing. And after r282490, it'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 "PASS" messages, followed by "TEST COMPLETE".
-PASS framesPerSecond < 36 is true
+FAIL framesPerSecond < 36 should be true. Was false.
 PASS successfullyParsed is true