Re: [whatwg/url] Expose a URLHost class to JavaScript (#288)

annevk left a comment (whatwg/url#288)

@jasnell maybe. @mikewest is exploring some ideas around exposing origin or site, and some of the ideas around public suffix and registrable domains overlap. Not sure about IP addresses vs domains though. https://github.com/mikewest/origin-api Not quite sure what to make of that yet, especially with "partition" (for lack of a better word) is becoming the security boundary for state in browsers.

The other thing that concerns me a little bit is that I've learned that WebRTC wants something like this but for host + port. And so I've wondered if not addressing port is problematic.

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

Message ID: <whatwg/url/pull/288/c3191587831@github.com>

Received on Friday, 15 August 2025 14:07:56 UTC