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
Notes: sideshowbarker 2024-07-17 08:35:21 +09:00
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();