mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +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:
parent
6154681718
commit
6c5450f9ce
5 changed files with 14 additions and 4 deletions
|
@ -365,7 +365,7 @@ public:
|
|||
|
||||
[[nodiscard]] JS::GCPtr<HTML::Location> location();
|
||||
|
||||
size_t number_of_things_delaying_the_load_event() const { return m_number_of_things_delaying_the_load_event; }
|
||||
bool anything_is_delaying_the_load_event() const;
|
||||
void increment_number_of_things_delaying_the_load_event(Badge<DocumentLoadEventDelayer>);
|
||||
void decrement_number_of_things_delaying_the_load_event(Badge<DocumentLoadEventDelayer>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue