mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
Ladybird: Update stored URL when a page starts/finishes loading
Similar to 9782660
. Unlike
Serenity's browser, this doesn't affect reloading the page, as Ladybird
refers to the History object for reloading (which is updated already on
page load). However, this URL is used for e.g. crash reporting, so let's
update it here as well.
This commit is contained in:
parent
9a5f9c101c
commit
69cd0d6599
1 changed files with 2 additions and 2 deletions
|
@ -804,13 +804,13 @@ void WebContentView::notify_server_did_middle_click_link(Badge<WebContentClient>
|
|||
|
||||
void WebContentView::notify_server_did_start_loading(Badge<WebContentClient>, AK::URL const& url)
|
||||
{
|
||||
m_url = url;
|
||||
emit load_started(url);
|
||||
}
|
||||
|
||||
void WebContentView::notify_server_did_finish_loading(Badge<WebContentClient>, AK::URL const& url)
|
||||
{
|
||||
// FIXME
|
||||
(void)url;
|
||||
m_url = url;
|
||||
}
|
||||
|
||||
void WebContentView::notify_server_did_request_navigate_back(Badge<WebContentClient>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue