11cb0ef41Sopenharmony_ci// GENERATED CONTENT - DO NOT EDIT
21cb0ef41Sopenharmony_ci// Content was automatically extracted by Reffy into webref
31cb0ef41Sopenharmony_ci// (https://github.com/w3c/webref)
41cb0ef41Sopenharmony_ci// Source: URL Standard (https://url.spec.whatwg.org/)
51cb0ef41Sopenharmony_ci
61cb0ef41Sopenharmony_ci[Exposed=(Window,Worker),
71cb0ef41Sopenharmony_ci LegacyWindowAlias=webkitURL]
81cb0ef41Sopenharmony_ciinterface URL {
91cb0ef41Sopenharmony_ci  constructor(USVString url, optional USVString base);
101cb0ef41Sopenharmony_ci
111cb0ef41Sopenharmony_ci  stringifier attribute USVString href;
121cb0ef41Sopenharmony_ci  readonly attribute USVString origin;
131cb0ef41Sopenharmony_ci           attribute USVString protocol;
141cb0ef41Sopenharmony_ci           attribute USVString username;
151cb0ef41Sopenharmony_ci           attribute USVString password;
161cb0ef41Sopenharmony_ci           attribute USVString host;
171cb0ef41Sopenharmony_ci           attribute USVString hostname;
181cb0ef41Sopenharmony_ci           attribute USVString port;
191cb0ef41Sopenharmony_ci           attribute USVString pathname;
201cb0ef41Sopenharmony_ci           attribute USVString search;
211cb0ef41Sopenharmony_ci  [SameObject] readonly attribute URLSearchParams searchParams;
221cb0ef41Sopenharmony_ci           attribute USVString hash;
231cb0ef41Sopenharmony_ci
241cb0ef41Sopenharmony_ci  USVString toJSON();
251cb0ef41Sopenharmony_ci};
261cb0ef41Sopenharmony_ci
271cb0ef41Sopenharmony_ci[Exposed=(Window,Worker)]
281cb0ef41Sopenharmony_ciinterface URLSearchParams {
291cb0ef41Sopenharmony_ci  constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");
301cb0ef41Sopenharmony_ci
311cb0ef41Sopenharmony_ci  undefined append(USVString name, USVString value);
321cb0ef41Sopenharmony_ci  undefined delete(USVString name);
331cb0ef41Sopenharmony_ci  USVString? get(USVString name);
341cb0ef41Sopenharmony_ci  sequence<USVString> getAll(USVString name);
351cb0ef41Sopenharmony_ci  boolean has(USVString name);
361cb0ef41Sopenharmony_ci  undefined set(USVString name, USVString value);
371cb0ef41Sopenharmony_ci
381cb0ef41Sopenharmony_ci  undefined sort();
391cb0ef41Sopenharmony_ci
401cb0ef41Sopenharmony_ci  iterable<USVString, USVString>;
411cb0ef41Sopenharmony_ci  stringifier;
421cb0ef41Sopenharmony_ci};
43