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
parent fe32c9c3bd
commit e89320887e
Notes: sideshowbarker 2024-07-18 03:59:10 +09:00
3 changed files with 47 additions and 3 deletions

View File

@@ -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;