LibWeb: Implement 'host is domain' concept from the URL spec

This commit is contained in:
Linus Groh 2022-10-13 18:26:35 +02:00
commit 7fd4c7b0c6
Notes: sideshowbarker 2024-07-17 05:01:22 +09:00
2 changed files with 12 additions and 0 deletions

View file

@ -72,5 +72,6 @@ private:
};
HTML::Origin url_origin(AK::URL const&);
bool host_is_domain(StringView host);
}