mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:47:46 +00:00
LibWeb: Add the URL::{protocol, pathname, search, hash} attributes
This commit is contained in:
parent
7f9818bcbc
commit
ed5128d759
3 changed files with 112 additions and 4 deletions
|
@ -3,16 +3,16 @@ interface URL {
|
|||
|
||||
stringifier attribute USVString href;
|
||||
readonly attribute USVString origin;
|
||||
// TODO: attribute USVString protocol;
|
||||
attribute USVString protocol;
|
||||
attribute USVString username;
|
||||
attribute USVString password;
|
||||
attribute USVString host;
|
||||
attribute USVString hostname;
|
||||
attribute USVString port;
|
||||
// TODO: attribute USVString pathname;
|
||||
// TODO: attribute USVString search;
|
||||
attribute USVString pathname;
|
||||
attribute USVString search;
|
||||
[SameObject] readonly attribute URLSearchParams searchParams;
|
||||
// TODO: attribute USVString hash;
|
||||
attribute USVString hash;
|
||||
|
||||
USVString toJSON();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue