mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
WebSocket constructor should not panic
Make an early return when the WebSocket connection fails in the constructor. Also let the WebSocket connection to be closed when the connection could not be established. Fixes #6082.
This commit is contained in:
parent
4435e6f42a
commit
7781f331d3
15 changed files with 48 additions and 28 deletions
|
@ -1,3 +1,6 @@
|
|||
[progress.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[W3C WebSocket API - Create WebSocket - Pass a URL with a non ws/wss scheme - SYNTAX_ERR is thrown]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue