You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WebSocket constructor required ws: and was: URLs for the longest time, preventing folks from using relative URLs. Which in turn led to a lot of clunky code trying to work around that.
This has been recently resolved in whatwg/websockets#45 and quickly adopted by WebKit, but hasn't made its way to other engines yet. Perhaps Interop 2024 can help?
This proposal has been accepted as part of Interop 2024! On behalf of the entire Interop team, thank you for proposing it. You’ll be able to track progress on this topic throughout the year via the Interop 2024 dashboard.
Description
The
WebSocket
constructor requiredws:
andwas:
URLs for the longest time, preventing folks from using relative URLs. Which in turn led to a lot of clunky code trying to work around that.This has been recently resolved in whatwg/websockets#45 and quickly adopted by WebKit, but hasn't made its way to other engines yet. Perhaps Interop 2024 can help?
Specification
https://websockets.spec.whatwg.org
Open Issues
No response
Tests
https://wpt.fyi/results/websockets?label=master&label=experimental&aligned&q=path%3A%2Fwebsockets%2FCreate-http-urls.any.%20or%20path%3A%2Fwebsockets%2FCreate-invalid-urls.any.%20or%20path%3A%2Fwebsockets%2FCreate-non-absolute-url.any.%20or%20path%3A%2Fwebsockets%2FCreate-url-with-windows-1252-encoding.html (from web-platform-tests/wpt#39955)
Current Implementations
Standards Positions
No response
Browser bug reports
Developer discussions
No response
Polls & Surveys
No response
Existing Usage
No response
Workarounds
No response
Accessibility Impact
No response
Privacy Impact
No response
Other
No response
The text was updated successfully, but these errors were encountered: