mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
LibWeb: Add the URL::username, URL::password & URL::origin attributes
This commit is contained in:
parent
fe32c9c3bd
commit
e89320887e
3 changed files with 47 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue