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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-04 22:31 PDT by Lauro Moura
Modified: 2021-11-05 00:02 PDT (History)
3 users (show)

See Also:


Attachments

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
fast/animation/request-animation-frame-throttling-lowPowerMode.html

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
 
 TEST COMPLETE