mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
AK: Add URL::serialize_origin based on HTML's origin definition
This commit is contained in:
parent
af5b62d8cd
commit
6fa4fc8353
2 changed files with 31 additions and 0 deletions
3
AK/URL.h
3
AK/URL.h
|
@ -81,6 +81,9 @@ public:
|
|||
String serialize_for_display() const;
|
||||
String to_string() const { return serialize(); }
|
||||
|
||||
// HTML origin
|
||||
String serialize_origin() const;
|
||||
|
||||
bool equals(URL const& other, ExcludeFragment = ExcludeFragment::No) const;
|
||||
|
||||
URL complete_url(String const&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue