LibWeb+LibWebView+WebContent: Add did_change_url() IPC call

This commit is contained in:
Aliaksandr Kalenik
2024-04-14 10:27:20 +02:00
committed by Alexander Kalenik
parent a8cf1aca7c
commit c96fc902ff
8 changed files with 20 additions and 0 deletions

View File

@@ -788,6 +788,8 @@ TraversableNavigable::HistoryStepResult TraversableNavigable::apply_the_history_
auto forward_enabled = m_current_session_history_step < static_cast<int>(m_session_history_entries.size()) - 1;
page().client().page_did_update_navigation_buttons_state(back_enabled, forward_enabled);
page().client().page_did_change_url(current_session_history_entry()->url());
// 21. Return "applied".
return HistoryStepResult::Applied;
}