diff --git a/url.bs b/url.bs index 2ac9262e..68007d5b 100644 --- a/url.bs +++ b/url.bs @@ -2378,9 +2378,6 @@ result of application/x-www-form-urlencoded -

{{URL}} statics

- -

The domainToASCII(domain) static -method, when invoked, must run these steps: - -

    -
  1. Let asciiDomain be the result of - host parsing domain. - -

  2. Return the empty string if asciiDomain is not a domain, - and asciiDomain otherwise. -

- -

The domainToUnicode(domain) static -method, when invoked, must run these steps: - -

    -
  1. Let unicodeDomain be the result of - host parsing domain with the - Unicode flag set. - -

  2. Return the empty string if unicodeDomain is not a - domain, and unicodeDomain otherwise. -

- -

{{URL}} members

The href attribute's getter must return the diff --git a/url.html b/url.html index aaf61f38..523d94d1 100644 --- a/url.html +++ b/url.html @@ -132,10 +132,9 @@

Table of Contents

6 API
  1. 6.1 Constructors -
  2. 6.2 URL statics -
  3. 6.3 URL members -
  4. 6.4 Interface URLSearchParams -
  5. 6.5 URL APIs elsewhere +
  6. 6.2 URL members +
  7. 6.3 Interface URLSearchParams +
  8. 6.4 URL APIs elsewhere
  • Acknowledgments
  • Conformance @@ -1770,9 +1769,6 @@

    6. [Constructor(USVString url, optional USVString base), Exposed=(Window,Worker)] interface URL { - static USVString domainToASCII(USVString domain); - static USVString domainToUnicode(USVString domain); - stringifier attribute USVString href; readonly attribute USVString origin; attribute USVString protocol; @@ -1832,25 +1828,7 @@

    -

    6.2. URL statics

    -

    The domainToASCII(domain) static -method, when invoked, must run these steps:

    -
      -
    1. -

      Let asciiDomain be the result of host parsing domain.

      -
    2. -

      Return the empty string if asciiDomain is not a domain, - and asciiDomain otherwise.

      -
    -

    The domainToUnicode(domain) static -method, when invoked, must run these steps:

    -
      -
    1. -

      Let unicodeDomain be the result of host parsing domain with the Unicode flag set.

      -
    2. -

      Return the empty string if unicodeDomain is not a domain, and unicodeDomain otherwise.

      -
    -

    6.3. URL members

    +

    6.2. URL members

    The href attributeโ€™s getter must return the serialization of context objectโ€™s url.

    The href attributeโ€™s setter must run these steps:

      @@ -2021,7 +1999,7 @@

      Basic URL parse input with context objectโ€™s url as url and fragment state as state override.

    -

    6.4. Interface URLSearchParams

    +

    6.3. Interface URLSearchParams

    [Constructor(optional (USVString or URLSearchParams) init = ""),
      Exposed=(Window,Worker)]
     interface URLSearchParams {
    @@ -2092,7 +2070,7 @@ 

    The value pairs to iterate over are the list name-value pairs with the key being the name and the value being the value.

    The stringification behavior must return the serialization of the URLSearchParams objectโ€™s list.

    -

    6.5. URL APIs elsewhere

    +

    6.4. URL APIs elsewhere

    A standard that exposes URLs, should expose the URL as a string (by serializing an internal URL). A standard should not expose a URL using a URL object. URL objects @@ -2194,7 +2172,7 @@

  • absolute URL, in ยง4.1
  • absolute URL with fragment, in ยง4.1 -
  • append(name, value), in ยง6.4 +
  • append(name, value), in ยง6.3
  • application/x-www-form-urlencoded, in ยง5
  • ASCII alpha, in ยง1
  • ASCII alphanumeric, in ยง1 @@ -2212,7 +2190,7 @@

    cannot-be-a-base-URL path state, in ยง4.2
  • default encode set, in ยง1.2
  • default port, in ยง4 -
  • delete(name), in ยง6.4 +
  • delete(name), in ยง6.3
  • domain
      @@ -2220,9 +2198,7 @@

      dfn for hostsyntax, in ยง3.2

  • domain to ASCII, in ยง3.1 -
  • domainToASCII(domain), in ยง6.2
  • domain to Unicode, in ยง3.1 -
  • domainToUnicode(domain), in ยง6.2
  • double-dot path segment, in ยง4.1
  • EOF code point, in ยง1.1
  • @@ -2242,24 +2218,24 @@

    dfn for urlsyntax, in ยง4.1
  • fragment state, in ยง4.2 -
  • getAll(name), in ยง6.4 -
  • get(name), in ยง6.4 -
  • hash, in ยง6.3 -
  • has(name), in ยง6.4 +
  • getAll(name), in ยง6.3 +
  • get(name), in ยง6.3 +
  • hash, in ยง6.2 +
  • has(name), in ยง6.3
  • host -
  • hostname, in ยง6.3 +
  • hostname, in ยง6.2
  • hostname state, in ยง4.2
  • host parser, in ยง3.3
  • host serializer, in ยง3.4
  • host state, in ยง4.2 -
  • href, in ยง6.3 +
  • href, in ยง6.2
  • HTTP(S) scheme, in ยง4
  • include credentials, in ยง4
  • @@ -2285,10 +2261,10 @@

    IPv6 serializer, in ยง3.4
  • is local, in ยง4
  • is special, in ยง4 -
  • list, in ยง6.4 +
  • list, in ยง6.3
  • local scheme, in ยง4
  • network scheme, in ยง4 -
  • new, in ยง6.4 +
  • new, in ยง6.3
  • normalized Windows drive letter, in ยง1
  • no scheme state, in ยง4.2
  • object, in ยง4 @@ -2296,18 +2272,18 @@

    dfn for url, in ยง4.5 -
  • attribute for URL, in ยง6.3 +
  • attribute for URL, in ยง6.2
  • password
  • path, in ยง4
  • path-absolute non-Windows-file URL, in ยง4.1
  • path-absolute URL, in ยง4.1 -
  • pathname, in ยง6.3 +
  • pathname, in ยง6.2
  • path or authority state, in ยง4.2
  • path-relative scheme-less URL, in ยง4.1
  • path-relative URL, in ยง4.1 @@ -2324,10 +2300,10 @@

    dfn for url, in ยง4
  • dfn for urlsyntax, in ยง4.1 -
  • attribute for URL, in ยง6.3 +
  • attribute for URL, in ยง6.2
  • port state, in ยง4.2 -
  • protocol, in ยง6.3 +
  • protocol, in ยง6.2
  • query
  • syntax violation, in ยง1.1
  • tab and newline, in ยง1 -
  • update steps, in ยง6.4 +
  • update steps, in ยง6.3
  • URL
  • UTF-8 percent encode, in ยง1.2
  • valid domain, in ยง3.2 @@ -2490,9 +2466,6 @@

    I
    [Constructor(USVString url, optional USVString base),
      Exposed=(Window,Worker)]
     interface URL {
    -  static USVString domainToASCII(USVString domain);
    -  static USVString domainToUnicode(USVString domain);
    -
       stringifier attribute USVString href;
       readonly attribute USVString origin;
                attribute USVString protocol;