From b298347fdcaee0d44b7b0b39f9764fba4cf7415c Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Wed, 7 Aug 2024 03:28:12 +0200 Subject: Stop the layouting loop after 1000 iterations Prevents Dillo from hoarding the CPU due to an infinite loop in the layouting. We also return the control to FLTK to update the screen and process events each 100 iterations, to keep the window responsive. It doesn't fix the root cause of the github-infinite-loop test, but it does allow the rendering to finish with no differences with the reference test. --- test/html/Makefile.am | 1 - 1 file changed, 1 deletion(-) (limited to 'test') diff --git a/test/html/Makefile.am b/test/html/Makefile.am index 3cac57c6..5b6643d6 100644 --- a/test/html/Makefile.am +++ b/test/html/Makefile.am @@ -43,7 +43,6 @@ TESTS = \ XFAIL_TESTS = \ render/div-100-percent-with-padding.html \ render/float-img-justify.html \ - render/github-infinite-loop.html \ render/img-aspect-ratio.html \ render/margin-auto.html \ render/max-width-html.html \ -- cgit v1.2.3