mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-09 04:32:51 +00:00
LibWeb: Pass SynchronousNavigation flag into "apply the history step"
Workaround spec bug by explicitly carrying information whether navigation is sync (History api, fragment change) or not. See for more details https://github.com/whatwg/html/issues/10232
This commit is contained in:
parent
93ba99f14a
commit
adcc3905e5
Notes:
sideshowbarker
2024-07-17 06:38:11 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: adcc3905e5
Pull-request: https://github.com/SerenityOS/serenity/pull/23853
3 changed files with 17 additions and 11 deletions
|
@ -1866,7 +1866,7 @@ void finalize_a_cross_document_navigation(JS::NonnullGCPtr<Navigable> navigable,
|
|||
}
|
||||
|
||||
// 10. Apply the push/replace history step targetStep to traversable.
|
||||
traversable->apply_the_push_or_replace_history_step(target_step, history_handling);
|
||||
traversable->apply_the_push_or_replace_history_step(target_step, history_handling, TraversableNavigable::SynchronousNavigation::No);
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#url-and-history-update-steps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue