mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
20 lines
578 B
Text
20 lines
578 B
Text
#import <URL/URLSearchParams.idl>
|
|
|
|
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();
|
|
};
|