Allow HTTP(S) schemes in the WebSocket constructor · whatwg/websockets@771cd4f
And thereby relative URLs. They are instantly normalized to the ws: and wss: schemes. Tests: https://github.com/web-platform-tests/wpt/pull/39955 and https://github.com/web-platform-tests/wpt/pu...
github.com