mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb: Add the URL::username, URL::password & URL::origin attributes
This commit is contained in:
committed by
Andreas Kling
parent
fe32c9c3bd
commit
e89320887e
Notes:
sideshowbarker
2024-07-18 03:59:10 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/e89320887ef Pull-request: https://github.com/SerenityOS/serenity/pull/10022
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user