LibWeb: Also call page_did_start_loading() for FrameLoader::Type::Reload
Surprisingly this is not used by the browser's page reload functionality but only JS's location.reload() - that's probably why this hasn't been noticed yet. Make sure we notify the page client about the load start in that case as well. :^)
This commit is contained in:
parent
56e69c4f2e
commit
d947253c51
Notes:
sideshowbarker
2024-07-18 17:15:36 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ bool FrameLoader::load(const LoadRequest& request, Type type)
|
|||
|
||||
auto& url = request.url();
|
||||
|
||||
if (type == Type::Navigation) {
|
||||
if (type == Type::Navigation || type == Type::Reload) {
|
||||
if (auto* page = frame().page())
|
||||
page->client().page_did_start_loading(url);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue