1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00
serenity/Userland/Libraries/LibWeb/URL/URL.idl

18 lines
606 B
Text

interface URL {
constructor(USVString url, optional USVString base);
stringifier attribute USVString href;
readonly attribute USVString origin;
// TODO: attribute USVString protocol;
attribute USVString username;
attribute USVString password;
// TODO: attribute USVString host;
// TODO: attribute USVString hostname;
// TODO: attribute USVString port;
// TODO: attribute USVString pathname;
// TODO: attribute USVString search;
[SameObject] readonly attribute URLSearchParams searchParams;
// TODO: attribute USVString hash;
USVString toJSON();
};