mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 07:38:10 +00:00
LibWeb/HTML: Make Window::m{location,navigator} lazily allocated
This now matches the other window-owned objects, which already do this: m_crypto, m_performance, m_screen.
This commit is contained in:
parent
22552382ff
commit
4da68384e6
4 changed files with 22 additions and 14 deletions
|
@ -343,7 +343,7 @@ public:
|
|||
JS::NonnullGCPtr<HTML::History> history();
|
||||
JS::NonnullGCPtr<HTML::History> history() const;
|
||||
|
||||
HTML::Location* location();
|
||||
WebIDL::ExceptionOr<JS::GCPtr<HTML::Location>> location();
|
||||
|
||||
size_t number_of_things_delaying_the_load_event() { return m_number_of_things_delaying_the_load_event; }
|
||||
void increment_number_of_things_delaying_the_load_event(Badge<DocumentLoadEventDelayer>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue