mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibWeb: Forbid reentrancy of style-layout-repaint in EventLoop::process
Fixes crashing on https://playbiolab.com/ in VERIFY(page.client().is_ready_to_paint()) caused by attempting to start the next repaint before the ongoing repaint is done.
This commit is contained in:
committed by
Andreas Kling
parent
5faca4f027
commit
f341af1d72
Notes:
github-actions[bot]
2024-09-30 06:11:51 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/f341af1d726 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1565 Reviewed-by: https://github.com/awesomekling ✅
@@ -113,6 +113,8 @@ private:
|
||||
bool m_execution_paused { false };
|
||||
|
||||
bool m_skip_event_loop_processing_steps { false };
|
||||
|
||||
bool m_is_running_reflow_steps { false };
|
||||
};
|
||||
|
||||
EventLoop& main_thread_event_loop();
|
||||
|
||||
Reference in New Issue
Block a user