LibWeb: Implement "clear the forward session history" for traversable

https://html.spec.whatwg.org/multipage/browsing-the-web.html#clear-the-forward-session-history
This commit is contained in:
Aliaksandr Kalenik 2023-04-06 12:24:09 +03:00 committed by Andreas Kling
commit 0444df1a7c
Notes: sideshowbarker 2024-07-17 04:34:25 +09:00
2 changed files with 32 additions and 0 deletions

View file

@ -31,6 +31,7 @@ public:
VisibilityState system_visibility_state() const { return m_system_visibility_state; };
Vector<int> get_all_used_history_steps() const;
void clear_the_forward_session_history();
private:
TraversableNavigable();