LibWeb: Align Navigable::reload() with the specification

This commit is contained in:
Tim Ledbetter
2026-02-10 21:30:55 +00:00
committed by Shannon Booth
parent dc649a7e46
commit 5060a61081
Notes: github-actions[bot] 2026-02-14 19:23:15 +00:00
14 changed files with 188 additions and 7 deletions

View File

@@ -345,8 +345,7 @@ WebIDL::ExceptionOr<NavigationResult> Navigation::reload(NavigationReloadOptions
auto api_method_tracker = maybe_set_the_upcoming_non_traverse_api_method_tracker(info, serialized_state);
// 9. Reload document's node navigable with navigationAPIState set to serializedState.
// FIXME: Pass serialized_state to reload
document.navigable()->reload();
document.navigable()->reload(move(serialized_state));
return navigation_api_method_tracker_derived_result(api_method_tracker);
}