[whatwg/url] Define hosts' public suffix and registrable domain. (#391)

This patch is another attempt at whatwg/url#72, and defers most of the actual work to the
algorithms defined at https://publicsuffix.org/list/.

I wonder if this is something we should expose on `URL` objects? I thikn @hillbrad was asking for it a looong time ago, but I don't know if he still has use cases.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/url/pull/391

-- Commit Summary --

  * Define hosts' public suffix and registrable domain.

-- File Changes --

    M url.bs (91)

-- Patch Links --

https://github.com/whatwg/url/pull/391.patch
https://github.com/whatwg/url/pull/391.diff

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

Received on Friday, 25 May 2018 08:45:21 UTC