mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Many clock related functions in Ladybird use the clock type called CLOCK_MONOTONIC_COARSE to obtain timestamps. This is a less precise clock and can be skewed by 1 or more milliseconds. This less precise clock timing is causing the abortsignal-timeout.html test to fail randomly as it expects the abort signal to arrive after 10ms, but in some cases it arrives at 9ms causing the test to fail. In some very rare cases it could even arrive in 7ms or 8ms. Test is changed to accept 9ms as a good result and if that is still not enough the test also will display the timings so that further investigations can be made.
1.1 KiB
1.1 KiB