1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:17:44 +00:00

LibWeb: Implement "get session history entries" for navigables

https://html.spec.whatwg.org/multipage/browsing-the-web.html#getting-session-history-entries
This commit is contained in:
Aliaksandr Kalenik 2023-04-06 18:08:44 +03:00 committed by Andreas Kling
parent 4c6564e3c1
commit d9d8896380
2 changed files with 40 additions and 0 deletions

View file

@ -35,6 +35,8 @@ public:
JS::GCPtr<SessionHistoryEntry> active_session_history_entry() const { return m_active_session_history_entry; };
JS::GCPtr<SessionHistoryEntry> current_session_history_entry() const { return m_current_session_history_entry; };
Vector<JS::NonnullGCPtr<SessionHistoryEntry>>& get_session_history_entries() const;
JS::GCPtr<DOM::Document> active_document();
JS::GCPtr<BrowsingContext> active_browsing_context();
JS::GCPtr<WindowProxy> active_window_proxy();