jsdom / whatwg-url

An implementation of the WHATWG URL Standard in JavaScript
https://jsdom.github.io/whatwg-url/
MIT License
371 stars 94 forks source link

Make hostname setter return failure if a port is given #183

Closed TimothyGu closed 3 years ago

TimothyGu commented 3 years ago

Align with https://github.com/whatwg/url/pull/604. Tests are in https://github.com/web-platform-tests/wpt/pull/29021