mirror of
https://github.com/servo/servo
synced 2026-04-30 03:17:15 +02:00
WebSocket constructor should not panic
Make an early return when the WebSocket connection fails in the constructor. Also let the WebSockect connection to be closed when the connection could not be established. Fixes #6082.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
[001.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[WebSockets: getting extensions in connecting]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user