RFR: 8271205: [windows] Intermittent test failure in test.javafx.scene.web.MiscellaneousTest::testDOMTimer
Jay Bhaskar
jbhaskar at openjdk.org
Wed Sep 17 02:50:55 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.
/ add-reviewer @kevinrushforth @HimaBinduMeda
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1907#issuecomment-3301030590
More information about the openjfx-dev
mailing list