mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
LibWeb: Implement synchronous session history steps
This commit is contained in:
parent
d6d1485720
commit
4f088aff3d
4 changed files with 117 additions and 26 deletions
|
@ -69,6 +69,11 @@ public:
|
|||
m_session_history_traversal_queue.append(move(steps));
|
||||
}
|
||||
|
||||
void append_session_history_synchronous_navigation_steps(JS::NonnullGCPtr<Navigable> target_navigable, JS::SafeFunction<void()> steps)
|
||||
{
|
||||
m_session_history_traversal_queue.append_sync(move(steps), target_navigable);
|
||||
}
|
||||
|
||||
void process_session_history_traversal_queue()
|
||||
{
|
||||
m_session_history_traversal_queue.process();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue