1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:37:45 +00:00

LibWeb: Add the URL::host, URL::hostname & URL:port attributes

This commit is contained in:
Idan Horowitz 2021-09-14 00:21:29 +03:00 committed by Andreas Kling
parent e89320887e
commit 7f9818bcbc
3 changed files with 82 additions and 3 deletions

View file

@ -6,9 +6,9 @@ interface URL {
// TODO: attribute USVString protocol;
attribute USVString username;
attribute USVString password;
// TODO: attribute USVString host;
// TODO: attribute USVString hostname;
// TODO: attribute USVString port;
attribute USVString host;
attribute USVString hostname;
attribute USVString port;
// TODO: attribute USVString pathname;
// TODO: attribute USVString search;
[SameObject] readonly attribute URLSearchParams searchParams;