1// GENERATED CONTENT - DO NOT EDIT 2// Content was automatically extracted by Reffy into reffy-reports 3// (https://github.com/tidoust/reffy-reports) 4// Source: URL Standard (https://url.spec.whatwg.org/) 5 6[Exposed=(Window,Worker), 7 LegacyWindowAlias=webkitURL] 8interface URL { 9 constructor(USVString url, optional USVString base); 10 11 stringifier attribute USVString href; 12 readonly attribute USVString origin; 13 attribute USVString protocol; 14 attribute USVString username; 15 attribute USVString password; 16 attribute USVString host; 17 attribute USVString hostname; 18 attribute USVString port; 19 attribute USVString pathname; 20 attribute USVString search; 21 [SameObject] readonly attribute URLSearchParams searchParams; 22 attribute USVString hash; 23 24 USVString toJSON(); 25}; 26 27[Exposed=(Window,Worker)] 28interface URLSearchParams { 29 constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = ""); 30 31 void append(USVString name, USVString value); 32 void delete(USVString name); 33 USVString? get(USVString name); 34 sequence<USVString> getAll(USVString name); 35 boolean has(USVString name); 36 void set(USVString name, USVString value); 37 38 void sort(); 39 40 iterable<USVString, USVString>; 41 stringifier; 42}; 43