mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Rename did_update_url() to did_history_api_push_or_replace()
The previous name was extremely misleading, because the call is used for pushing or replacing new session history entry on chrome side instead of only changing URL.
This commit is contained in:
parent
461184d964
commit
a8cf1aca7c
Notes:
sideshowbarker
2024-07-17 11:30:05 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: a8cf1aca7c
Pull-request: https://github.com/SerenityOS/serenity/pull/23952
Reviewed-by: https://github.com/trflynn89
11 changed files with 14 additions and 14 deletions
|
@ -215,7 +215,7 @@ WebIDL::ExceptionOr<void> History::shared_history_push_replace_state(JS::Value d
|
|||
|
||||
auto navigable = document->navigable();
|
||||
if (navigable->is_top_level_traversable()) {
|
||||
navigable->active_browsing_context()->page().client().page_did_update_url(new_url, history_handling);
|
||||
navigable->active_browsing_context()->page().client().page_did_history_api_push_or_replace(new_url, history_handling);
|
||||
}
|
||||
|
||||
// 10. Run the URL and history update steps given document and newURL, with serializedData set to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue