mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Update update_for_history_step_application
Update 'update_for_history_step_application' to meet some of the specs introduced in https://github.com/whatwg/html/pull/9856 and in https://github.com/whatwg/html/pull/9990
This commit is contained in:
parent
1039561280
commit
2497f43989
Notes:
github-actions[bot]
2024-07-22 08:40:39 +00:00
Author: https://github.com/mobounya
Commit: 2497f43989
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/757
Reviewed-by: https://github.com/kalenikaliaksandr ✅
4 changed files with 43 additions and 19 deletions
|
@ -1525,7 +1525,7 @@ WebIDL::ExceptionOr<void> Navigable::navigate_to_a_fragment(URL::URL const& url,
|
|||
|
||||
// 13. Update document for history step application given navigable's active document, historyEntry, true, scriptHistoryIndex, and scriptHistoryLength.
|
||||
// AD HOC: Skip updating the navigation api entries twice here
|
||||
active_document()->update_for_history_step_application(*history_entry, true, script_history_length, script_history_index, {}, false);
|
||||
active_document()->update_for_history_step_application(*history_entry, true, script_history_length, script_history_index, navigation_type, {}, {}, false);
|
||||
|
||||
// 14. Update the navigation API entries for a same-document navigation given navigation, historyEntry, and historyHandling.
|
||||
navigation->update_the_navigation_api_entries_for_a_same_document_navigation(history_entry, navigation_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue