LibWeb: Add non-const session_history_entries getter in traversable

This commit is contained in:
Aliaksandr Kalenik 2023-04-05 09:18:15 +03:00 committed by Andreas Kling
parent 51d64bdaec
commit 6660eb3e1b
Notes: sideshowbarker 2024-07-16 22:51:10 +09:00

View File

@ -25,6 +25,7 @@ public:
bool is_top_level_traversable() const;
int current_session_history_step() const { return m_current_session_history_step; };
Vector<JS::NonnullGCPtr<SessionHistoryEntry>>& session_history_entries() { return m_session_history_entries; };
Vector<JS::NonnullGCPtr<SessionHistoryEntry>> const& session_history_entries() const { return m_session_history_entries; };
bool running_nested_apply_history_step() const { return m_running_nested_apply_history_step; };
VisibilityState system_visibility_state() const { return m_system_visibility_state; };