RFR: 8271205: [windows] Intermittent test failure in test.javafx.scene.web.MiscellaneousTest::testDOMTimer
Kevin Rushforth
kcr at openjdk.org
Thu Sep 18 14:57:20 UTC 2025
On Wed, 17 Sep 2025 02:40:43 GMT, Jay Bhaskar <jbhaskar at openjdk.org> wrote:
> Issue: [windows] Intermittent test failure in test.javafx.scene.web.MiscellaneousTest::testDOMTimer
> Analysis:
> setTimeout call is not a real-time function. it is considered just a minimum delay before the callback is executed. The actual time taken depends
>
> How long it takes to process any messages ahead of the already task in the queue?
> Current load on the CPU.
> The number of tasks being executed by the JS engine.
> current state of OS/Browser.
> However, we have to set a minimum timeout value of at least 10 ms, as recommended by Webkit/w3c. Setting value of 1o ms might prevent some un-defined behavior.
LGTM. I'll reapprove once you fix the typo in the comment.
-------------
Marked as reviewed by kcr (Lead).
PR Review: https://git.openjdk.org/jfx/pull/1907#pullrequestreview-3240275461
More information about the openjfx-dev
mailing list