mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue