2021-09-13 18:10:22 -03:00
|
|
|
interface URL {
|
|
|
|
|
constructor(USVString url, optional USVString base);
|
|
|
|
|
|
2021-09-13 18:13:32 -03:00
|
|
|
stringifier attribute USVString href;
|
2021-09-13 18:18:25 -03:00
|
|
|
readonly attribute USVString origin;
|
2021-09-13 18:21:51 -03:00
|
|
|
attribute USVString protocol;
|
2021-09-13 18:18:25 -03:00
|
|
|
attribute USVString username;
|
|
|
|
|
attribute USVString password;
|
2021-09-13 18:21:29 -03:00
|
|
|
attribute USVString host;
|
|
|
|
|
attribute USVString hostname;
|
|
|
|
|
attribute USVString port;
|
2021-09-13 18:21:51 -03:00
|
|
|
attribute USVString pathname;
|
|
|
|
|
attribute USVString search;
|
2021-09-13 18:15:41 -03:00
|
|
|
[SameObject] readonly attribute URLSearchParams searchParams;
|
2021-09-13 18:21:51 -03:00
|
|
|
attribute USVString hash;
|
2021-09-13 18:10:22 -03:00
|
|
|
|
2021-09-13 18:13:32 -03:00
|
|
|
USVString toJSON();
|
2021-09-13 18:10:22 -03:00
|
|
|
};
|