LibWeb/HTML: Update Navigable::choose_a_navigable() to latest spec

This corresponds to part of https://github.com/whatwg/html/pull/10818
This commit is contained in:
Sam Atkins 2025-01-05 17:21:31 +00:00 committed by Alexander Kalenik
commit d40ccb97ec
Notes: github-actions[bot] 2025-01-21 17:18:22 +00:00
2 changed files with 88 additions and 23 deletions

View file

@ -113,6 +113,8 @@ public:
ChosenNavigable choose_a_navigable(StringView name, TokenizedFeature::NoOpener no_opener, ActivateTab = ActivateTab::Yes, Optional<TokenizedFeature::Map const&> window_features = {});
GC::Ptr<Navigable> find_a_navigable_by_target_name(StringView name);
static GC::Ptr<Navigable> navigable_with_active_document(GC::Ref<DOM::Document>);
enum class Traversal {