diff --git a/url.bs b/url.bs index f9da78dc..05d48f22 100644 --- a/url.bs +++ b/url.bs @@ -284,9 +284,13 @@ U+005C (\), or U+005D (]).
If host is not a domain, then return null. -
Return the public suffix obtained by executing the - algorithm defined by the Public Suffix List on - host. [[!PSL]]. +
Let publicSuffix be the public suffix determined by running the + Public Suffix List algorithm with host as + domain. [[!PSL]] + +
Assert: publicSuffix is an ASCII string. + +
Return publicSuffix.
A host's registrable domain is a domain formed by @@ -297,9 +301,13 @@ obtain host's registrable domain, run these steps:
If host's public suffix is null or host's public suffix equals host, then return null. -
Return the registrable domain obtained by executing the - algorithm defined by the Public Suffix List on - host. [[!PSL]] +
Let registrableDomain be the registrable domain determined by running the + Public Suffix List algorithm with host as + domain. [[!PSL]] + +
Assert: registrableDomain is an ASCII string. + +
Return registrableDomain.