mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Update update_for_history_step_application
Update 'update_for_history_step_application' to meet some of the specs introduced in https://github.com/whatwg/html/pull/9856 and in https://github.com/whatwg/html/pull/9990
This commit is contained in:
parent
1039561280
commit
2497f43989
Notes:
github-actions[bot]
2024-07-22 08:40:39 +00:00
Author: https://github.com/mobounya
Commit: 2497f43989
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/757
Reviewed-by: https://github.com/kalenikaliaksandr ✅
4 changed files with 43 additions and 19 deletions
|
@ -29,6 +29,7 @@
|
|||
#include <LibWeb/HTML/HTMLScriptElement.h>
|
||||
#include <LibWeb/HTML/History.h>
|
||||
#include <LibWeb/HTML/LazyLoadingElement.h>
|
||||
#include <LibWeb/HTML/NavigationType.h>
|
||||
#include <LibWeb/HTML/Origin.h>
|
||||
#include <LibWeb/HTML/SandboxingFlagSet.h>
|
||||
#include <LibWeb/HTML/Scripting/Environments.h>
|
||||
|
@ -593,7 +594,7 @@ public:
|
|||
|
||||
HTML::SourceSnapshotParams snapshot_source_snapshot_params() const;
|
||||
|
||||
void update_for_history_step_application(JS::NonnullGCPtr<HTML::SessionHistoryEntry>, bool do_not_reactivate, size_t script_history_length, size_t script_history_index, Optional<Vector<JS::NonnullGCPtr<HTML::SessionHistoryEntry>>> entries_for_navigation_api = {}, bool update_navigation_api = true);
|
||||
void update_for_history_step_application(JS::NonnullGCPtr<HTML::SessionHistoryEntry>, bool do_not_reactivate, size_t script_history_length, size_t script_history_index, Optional<Bindings::NavigationType> navigation_type, Optional<Vector<JS::NonnullGCPtr<HTML::SessionHistoryEntry>>> entries_for_navigation_api = {}, Optional<JS::NonnullGCPtr<HTML::SessionHistoryEntry>> previous_entry_for_activation = {}, bool update_navigation_api = true);
|
||||
|
||||
HashMap<URL::URL, JS::GCPtr<HTML::SharedImageRequest>>& shared_image_requests();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue