diff options
Diffstat (limited to 'Userland/Services/WebContent/PageHost.cpp')
-rw-r--r-- | Userland/Services/WebContent/PageHost.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Userland/Services/WebContent/PageHost.cpp b/Userland/Services/WebContent/PageHost.cpp index 883c5fa43a..dc1ee8c04e 100644 --- a/Userland/Services/WebContent/PageHost.cpp +++ b/Userland/Services/WebContent/PageHost.cpp @@ -187,11 +187,13 @@ void PageHost::page_did_start_loading(const URL& url) m_client.async_did_start_loading(url); } -void PageHost::page_did_finish_loading(const URL& url) +void PageHost::page_did_create_main_document() { - // FIXME: This is called after the page has finished loading, which means any log messages - // that happen *while* it is loading (such as inline <script>s) will be lost. m_client.initialize_js_console({}); +} + +void PageHost::page_did_finish_loading(const URL& url) +{ m_client.async_did_finish_loading(url); } |