Trigger WebSocket error event

Trigger a WebSocket error after receiving an invalid message from the server
This commit is contained in:
Sam Gibson 2015-12-07 14:35:10 +11:00 committed by Ms2ger
parent b188cb542e
commit 4f736e6f7c
9 changed files with 23 additions and 46 deletions

View file

@ -1,6 +1,5 @@
[010.html]
type: testharness
expected: TIMEOUT
[WebSockets: protocol in response but no requested protocol]
expected: TIMEOUT
expected: FAIL

View file

@ -1,6 +0,0 @@
[011.html]
type: testharness
expected: TIMEOUT
[WebSockets: protocol mismatch]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[005.html]
type: testharness
[WebSockets: setting HttpOnly cookies in ws response, checking ws request]
expected: FAIL

View file

@ -1,6 +0,0 @@
[015.html]
type: testharness
expected: TIMEOUT
[WebSockets: instanceof on events]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[017.html]
type: testharness
expected: TIMEOUT
[WebSockets: this, e.target, e.currentTarget, e.eventPhase]
expected: TIMEOUT

View file

@ -1,9 +0,0 @@
[018.html]
type: testharness
expected: TIMEOUT
[error event]
expected: TIMEOUT
[close event]
expected: TIMEOUT

View file

@ -1,6 +1,5 @@
[005.html]
type: testharness
expected: TIMEOUT
[WebSockets: proper first line]
expected: TIMEOUT
expected: FAIL