mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibWeb+LibWebView+WebContent: Remove now-unused history change IPC
This commit is contained in:
committed by
Alexander Kalenik
parent
6eb2052d40
commit
9c608b46fd
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user