[whatwg/url] Clarify A-label vs U-label for public suffix / registrable domain (#396)

At the moment the Public Suffix List allows implementations to do either. The URL Standard clearly centers around A-label (ASCII) for everything normalized and expects the same from public suffix and registrable domain (due to the way it performs comparisons with them).

Filing this as a follow-up to #391 since we don't expose public suffix and registrable domain directly (yet).

I'd suggest we change

> Return the public suffix obtained by executing the algorithm defined by the Public Suffix List on host.

to

> Return the public suffix obtained by executing the algorithm defined by the Public Suffix List on host, using A-labels.

and do likewise for registrable domain.

Does that work @sleevi & @mikewest?

-- 
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/issues/396

Received on Thursday, 7 June 2018 09:08:14 UTC