LibWeb+LibWebView+WebContent: Remove now-unused history change IPC

This commit is contained in:
Timothy Flynn
2024-04-14 17:01:19 -04:00
committed by Alexander Kalenik
parent 6eb2052d40
commit 9c608b46fd
8 changed files with 0 additions and 29 deletions

View File

@@ -9,7 +9,6 @@
#include <LibWeb/HTML/History.h>
#include <LibWeb/HTML/StructuredSerialize.h>
#include <LibWeb/HTML/TraversableNavigable.h>
#include <LibWeb/Page/Page.h>
namespace Web::HTML {
@@ -213,11 +212,6 @@ WebIDL::ExceptionOr<void> History::shared_history_push_replace_state(JS::Value d
// and classicHistoryAPIState set to serializedData.
// FIXME: 9. If continue is false, then return.
auto navigable = document->navigable();
if (navigable->is_top_level_traversable()) {
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
// serializedData and historyHandling set to historyHandling.
perform_url_and_history_update_steps(document, new_url, serialized_data, history_handling);