SerenityOS / serenity

The Serenity Operating System 🐞
https://serenityos.org
BSD 2-Clause "Simplified" License
29.64k stars 3.15k forks source link

Cherry-pick "LibWeb: Reschedule HTML event loop processing if navigable needs repaint" #24651

Closed nico closed 2 days ago

nico commented 2 days ago

This is an attempt to fix the hanging CI on macOS caused by some screenshot requests being stuck unprocessed. With this change, we at least make sure that the HTML event loop processing, which triggers repainting, will happen as long as there are navigables that need to be repainted.

(cherry picked from commit 72b4d44d07e12cc04bde90872e2f31aaab64aa00)

--

Cherry-picks https://github.com/LadybirdBrowser/ladybird/pull/361