LibWeb: Add the URL::username, URL::password & URL::origin attributes

This commit is contained in:
Idan Horowitz 2021-09-14 00:18:25 +03:00 committed by Andreas Kling
commit e89320887e
Notes: sideshowbarker 2024-07-18 03:59:10 +09:00
3 changed files with 47 additions and 3 deletions

View file

@ -31,6 +31,14 @@ public:
String href() const;
DOM::ExceptionOr<void> set_href(String const&);
String origin() const;
String username() const;
void set_username(String const&);
String password() const;
void set_password(String const&);
URLSearchParams const* search_params() const;
String to_json() const;