Ladybird: Fire the WebContentView::on_load_finish hook if set

This commit is contained in:
Andreas Kling 2023-01-27 10:33:18 +01:00
parent a7677f1d9b
commit 90fee39290
Notes: sideshowbarker 2024-07-17 01:10:35 +09:00

View file

@ -800,6 +800,8 @@ void WebContentView::notify_server_did_finish_loading(Badge<WebContentClient>, A
m_url = url;
if (is_inspector_open())
inspect_dom_tree();
if (on_load_finish)
on_load_finish(url);
}
void WebContentView::notify_server_did_request_navigate_back(Badge<WebContentClient>)