summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/URL/URL.idl
blob: 1ad7f2ba18d2d52d87a42d73a450dc123222c884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
interface URL {
    constructor(USVString url, optional USVString base);

    stringifier attribute USVString href;
    readonly attribute USVString origin;
    attribute USVString protocol;
    attribute USVString username;
    attribute USVString password;
    attribute USVString host;
    attribute USVString hostname;
    attribute USVString port;
    attribute USVString pathname;
    attribute USVString search;
    [SameObject] readonly attribute URLSearchParams searchParams;
    attribute USVString hash;

    USVString toJSON();
};