gecko-dev/testing/web-platform/tests/interfaces/url.idl
Philip Jägenstedt 52c5157b8f Bug 1482360 [wpt PR 12403] - Update interfaces/*.idl boilerplate from reffy-reports, a=testonly
Automatic update from web-platform-testsUpdate interfaces/*.idl boilerplate from reffy-reports (#12403)

The boilerplate has changed:
https://github.com/tidoust/reffy/pull/114

This change updates the files where *only* the boilerplate would
differ, files with other differences are left untouched.
--

wpt-commits: 9444c46e506b6231888b9b21613a8eceb4dac525
wpt-pr: 12403
2018-08-15 16:50:23 +00:00

40 lines
1.3 KiB
Text

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: URL Standard (https://url.spec.whatwg.org/)
[Constructor(USVString url, optional USVString base),
Exposed=(Window,Worker),
LegacyWindowAlias=webkitURL]
interface URL {
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();
};
[Constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = ""),
Exposed=(Window,Worker)]
interface URLSearchParams {
void append(USVString name, USVString value);
void delete(USVString name);
USVString? get(USVString name);
sequence<USVString> getAll(USVString name);
boolean has(USVString name);
void set(USVString name, USVString value);
void sort();
iterable<USVString, USVString>;
stringifier;
};