1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:07:35 +00:00

LibWeb: Report if anything is delaying load event, not the count

Some elements that delay the load event are more complicated than a
simple count will allow for. We'll implement those in a bit!
This commit is contained in:
Sam Atkins 2023-11-24 15:18:57 +00:00 committed by Andreas Kling
parent 6154681718
commit 6c5450f9ce
5 changed files with 14 additions and 4 deletions

View file

@ -64,6 +64,7 @@ public:
void set_closing(bool value) { m_closing = value; }
void set_delaying_load_events(bool value);
bool is_delaying_load_events() const { return m_delaying_the_load_event.has_value(); }
JS::GCPtr<SessionHistoryEntry> active_session_history_entry() const { return m_active_session_history_entry; }
void set_active_session_history_entry(JS::GCPtr<SessionHistoryEntry> entry) { m_active_session_history_entry = entry; }