summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/URL/URL.idl
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-09-14 00:18:25 +0300
committerAndreas Kling <kling@serenityos.org>2021-09-14 00:14:45 +0200
commite89320887efedf2b4241b1a21b3792d7e7fb7961 (patch)
treed4a3c7fd4067a1d57d70c7e9242443add33a1d47 /Userland/Libraries/LibWeb/URL/URL.idl
parentfe32c9c3bd41e9753a56b5edfa9ad71e94dd243d (diff)
downloadserenity-e89320887efedf2b4241b1a21b3792d7e7fb7961.zip
LibWeb: Add the URL::username, URL::password & URL::origin attributes
Diffstat (limited to 'Userland/Libraries/LibWeb/URL/URL.idl')
-rw-r--r--Userland/Libraries/LibWeb/URL/URL.idl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/URL/URL.idl b/Userland/Libraries/LibWeb/URL/URL.idl
index a32ea6e5e5..7ea731e04f 100644
--- a/Userland/Libraries/LibWeb/URL/URL.idl
+++ b/Userland/Libraries/LibWeb/URL/URL.idl
@@ -2,10 +2,10 @@ interface URL {
constructor(USVString url, optional USVString base);
stringifier attribute USVString href;
- // TODO: readonly attribute USVString origin;
+ readonly attribute USVString origin;
// TODO: attribute USVString protocol;
- // TODO: attribute USVString username;
- // TODO: attribute USVString password;
+ attribute USVString username;
+ attribute USVString password;
// TODO: attribute USVString host;
// TODO: attribute USVString hostname;
// TODO: attribute USVString port;