1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:15:10 +00:00

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

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>)