1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

LibWeb: Add supporting method to get navigables whose SHE will change

Implements https://html.spec.whatwg.org/multipage/browsing-the-web.html#get-all-navigables-whose-current-session-history-entry-will-change-or-reload
This commit is contained in:
Aliaksandr Kalenik 2023-06-19 21:11:30 +03:00 committed by Andreas Kling
parent 9c1087de8c
commit caf7fd4f19
2 changed files with 33 additions and 0 deletions

View file

@ -37,6 +37,7 @@ public:
HistoryObjectLengthAndIndex get_the_history_object_length_and_index(int) const;
int get_the_used_step(int step) const;
Vector<JS::Handle<Navigable>> get_all_navigables_whose_current_session_history_entry_will_change_or_reload(int) const;
Vector<int> get_all_used_history_steps() const;
void clear_the_forward_session_history();