mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
LibWeb: Process session history queue after initial iframe navigation
This is not in the spec, but we need to make sure that "apply the history step" for initial navigation to about:blank in iframe is applied before subsequent navigations. Otherwise, "set ongoing navigation" call during "about:blank" traversal might abort subsequent ongoing navigation which is not expected to happen.
This commit is contained in:
parent
0e0936e1ce
commit
9b16e5373d
4 changed files with 18 additions and 0 deletions
|
@ -55,6 +55,11 @@ public:
|
|||
m_session_history_traversal_queue.append(move(steps));
|
||||
}
|
||||
|
||||
void process_session_history_traversal_queue()
|
||||
{
|
||||
m_session_history_traversal_queue.process();
|
||||
}
|
||||
|
||||
Page* page() { return m_page; }
|
||||
Page const* page() const { return m_page; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue