mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Align Navigable::reload() with the specification
This commit is contained in:
committed by
Shannon Booth
parent
dc649a7e46
commit
5060a61081
Notes:
github-actions[bot]
2026-02-14 19:23:15 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/5060a610815 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7875 Reviewed-by: https://github.com/shannonbooth ✅
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user