mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:17:44 +00:00
LibHTML+AK: Move URL completion from Document to AK::URL
Completing a relative URL based on a base URL seems like generally useful functionality.
This commit is contained in:
parent
47326042c5
commit
0405ab91aa
3 changed files with 31 additions and 23 deletions
2
AK/URL.h
2
AK/URL.h
|
@ -31,6 +31,8 @@ public:
|
|||
|
||||
String to_string() const;
|
||||
|
||||
URL complete_url(const String&) const;
|
||||
|
||||
private:
|
||||
bool parse(const StringView&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue