Re: [whatwg/url] Simplify the public suffix and registrable domain definitions (PR #887)

@annevk commented on this pull request.



>   <a href="https://github.com/publicsuffix/list/wiki/Format#formal-algorithm">Public Suffix List algorithm</a>
  with <var>host</var> as domain. [[!PSL]]
-
- <li><p>Assert: <var>publicSuffix</var> is an <a>ASCII string</a> that does not

Can we keep _trailingDot_ and use it in this assert? Like "publicSuffix is an ASCII string that ends with trailingDot"?

I like the additional clarity that gives especially since the Public Suffix specification is rather informal. Hopefully at some point we define Public Suffix in a proper standards body, but until that day...

We should also link "Assert" now that we're changing this.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/887#discussion_r2473197460
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/pull/887/review/3393561964@github.com>

Received on Wednesday, 29 October 2025 13:51:03 UTC