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

LibWeb: Implement "get the used step" for traversable navigables

Implements https://html.spec.whatwg.org/multipage/browsing-the-web.html#getting-the-used-step
This commit is contained in:
Aliaksandr Kalenik 2023-06-19 21:08:26 +03:00 committed by Andreas Kling
parent 5b06e43938
commit 9c1087de8c
2 changed files with 20 additions and 0 deletions

View file

@ -36,6 +36,7 @@ public:
};
HistoryObjectLengthAndIndex get_the_history_object_length_and_index(int) const;
int get_the_used_step(int step) const;
Vector<int> get_all_used_history_steps() const;
void clear_the_forward_session_history();