diff --git a/source b/source index a02b4f19405..73dc066abb9 100644 --- a/source +++ b/source @@ -79178,7 +79178,7 @@ callback FrameRequestCallback = void (DOMHighResTimeStamp
  • If origin is an opaque origin, then - return origin.

  • + return null.

  • If origin's domain is non-null, then return origin's domain.

  • @@ -79484,6 +79484,49 @@ callback FrameRequestCallback = void (DOMHighResTimeStamp +

    To determine if a string hostSuffixString is a registrable domain suffix of or is equal to a host originalHost, run these steps:

    + + +
      +
    1. If hostSuffixString is the empty string, then return false.

    2. + +
    3. Let host be the result of parsing + hostSuffixString.

    4. + +
    5. If host is failure, then return false.

    6. + +
    7. +

      If host is not equal to + originalHost, then run these substeps:

      + +
        +
      1. +

        If host or originalHost is not a domain, then return false.

        + +

        This is meant to exclude hosts that are an + IPv4 address or an IPv6 address.

        +
      2. + +
      3. If host, prefixed by a U+002E FULL STOP (.), does not exactly match the end + of originalHost, then return false.

      4. + +
      5. +

        If host matches a suffix in the Public Suffix List, or, if host, + prefixed by a U+002E FULL STOP (.), matches the end of a suffix in the Public Suffix List, + then return false.

        + +

        Suffixes must be compared after applying the host parser algorithm.

        +
      6. +
      +
    8. + +
    9. Return true.

    10. +
    +

    The domain attribute's getter must run these steps:

    @@ -79494,8 +79537,7 @@ callback FrameRequestCallback = void (DOMHighResTimeStamp

    Let effectiveDomain be this Document's origin's effective domain. -

  • If effectiveDomain is an opaque - origin, then return the empty string.

  • +
  • If effectiveDomain is null, then return the empty string.

  • Return effectiveDomain, serialized.

  • @@ -79514,50 +79556,19 @@ callback FrameRequestCallback = void (DOMHighResTimeStamp set, then throw a "SecurityError" DOMException.

    -
  • If the given value is the empty string, then throw a - "SecurityError" DOMException.

  • - -
  • Let host be the result of parsing the given - value.

  • - -
  • If host is failure, then throw a "SecurityError" - DOMException.

  • - -
  • Let effectiveDomain be this Document object's - origin's effective - domain.

  • - -
  • -

    If host is not equal to - effectiveDomain, then run these substeps:

    - -
      -
    1. -

      If host or effectiveDomain is not a domain, then throw a "SecurityError" - DOMException.

      - -

      This is meant to exclude hosts that are an - IPv4 address or an IPv6 address.

      -
    2. - -
    3. If host, prefixed by a U+002E FULL STOP (.), does not exactly match the end - of effectiveDomain, then throw a "SecurityError" - DOMException.

    4. +
    5. Let effectiveDomain be this Document's origin's effective domain. -

    6. -

      If host matches a suffix in the Public Suffix List, or, if host, - prefixed by a U+002E FULL STOP (.), matches the end of a suffix in the Public Suffix List, - then throw a "SecurityError" DOMException.

      +
    7. If effectiveDomain is null, then throw a + "SecurityError" DOMException.

    8. -

      Suffixes must be compared after applying the host parser algorithm.

      - -
    -
  • +
  • If the given value is not + a registrable domain suffix of and is not equal to effectiveDomain, then throw + a "SecurityError" DOMException.

  • Set this Document object's origin's domain to host.

  • + data-x="concept-origin-domain">domain to the result of parsing the given value.

    @@ -119631,6 +119642,7 @@ INSERT INTERFACES HERE Ivan Enderlin, Ivo Emanuel Gonçalves, J. King, + J.C. Jones, Jackson Ray Hamilton, Jacob Davies, Jacques Distler,