Bug 232745 - REGRESSION(r282490 r282383) [WPE] fast/animation/request-animation-frame-throttling-lowPowerMode.html is timing out
Summary: REGRESSION(r282490 r282383) [WPE] fast/animation/request-animation-frame-thro...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2021-11-04 22:31 PDT by Lauro Moura
Modified: 2021-11-05 00:02 PDT (History)
3 users (show)

See Also:


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