aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/URL.webidl
blob: 2e03ea9b858241be6d2e7edec19f06d30992d243 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://url.spec.whatwg.org/#url
[Constructor(USVString url, optional USVString base)/*,
 Exposed=(Window,Worker)*/]
interface URL {
  static USVString domainToASCII(USVString domain);
  // static USVString domainToUnicode(USVString domain);
};
URL implements URLUtils;