1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00

LibWeb: Start fleshing out "apply the history step" for traversables

Implements https://html.spec.whatwg.org/multipage/browsing-the-web.html#apply-the-history-step
This commit is contained in:
Aliaksandr Kalenik 2023-04-13 10:23:59 +03:00 committed by Andreas Kling
parent caf7fd4f19
commit c90136d48d
3 changed files with 221 additions and 1 deletions

View file

@ -930,7 +930,8 @@ WebIDL::ExceptionOr<void> Navigable::navigate(
target_step = traversable->current_session_history_step();
}
// FIXME: 10. Apply the history step targetStep to traversable.
// 10. Apply the history step targetStep to traversable.
traversable->apply_the_history_step(target_step);
}).release_value_but_fixme_should_propagate_errors();
});