Dispatch message events for WebSocket.

This commit is contained in:
Ms2ger 2015-07-15 20:11:18 +02:00 committed by Ms2ger
parent 50a30121bf
commit 2a97ab36f7
63 changed files with 120 additions and 276 deletions

View file

@ -1,6 +0,0 @@
[Close-1000-reason.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - Close the Connection - close(1000, reason) - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Close-1000.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - Close the Connection - close(1000) - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Close-reason-unpaired-surrogates.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - Close the Connection - close(reason with unpaired surrogates) - connection should get closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Create-Secure-valid-url-array-protocols.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Pass a valid URL and array of protocol strings - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Create-Secure-valid-url-protocol-string.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Pass a valid URL and protocol string - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Create-Secure-valid-url.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Pass a valid URL - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Create-valid-url-array-protocols.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - Pass a valid URL and array of protocol strings - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Create-valid-url-protocol.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - Pass a valid URL and a protocol string - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Create-valid-url.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - Pass a valid URL - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Secure-Close-1000-reason.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(1000, reason) - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Secure-Close-1000-verify-code.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(1000, reason) - event.code == 1000 and event.reason = 'Clean Close']
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Secure-Close-1000.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(1000) - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +1,5 @@
[Secure-Close-1005-verify-code.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close() - return close code is 1005 - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -1,6 +0,0 @@
[Secure-Close-3000-reason.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(3000, reason) - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Secure-Close-3000-verify-code.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(3000, reason) - verify return code is 3000 - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Secure-Close-4999-reason.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(4999, reason) - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Secure-Close-Reason-Unpaired-surrogates.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(reason with unpaired surrogates) - connection should get closed]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[Secure-Close-readyState-Closed.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: NOTRUN

View file

@ -1,12 +1,8 @@
[Secure-Send-65K-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send 65K data on a Secure WebSocket - Connection should be opened]
expected: FAIL
[W3C WebSocket API - Send 65K data on a Secure WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send 65K data on a Secure WebSocket - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -5,7 +5,7 @@
expected: FAIL
[W3C WebSocket API - Send 65K binary data on a Secure WebSocket - ArrayBuffer - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send 65K binary data on a Secure WebSocket - ArrayBuffer - Connection should be closed]
expected: NOTRUN

View file

@ -5,7 +5,7 @@
expected: FAIL
[W3C WebSocket API - Send binary data on a Secure WebSocket - ArrayBuffer - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a Secure WebSocket - ArrayBuffer - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Float32Array - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Float32Array - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Float64Array - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Float64Array - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int32Array - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int32Array - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint16Array with offset and length - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint16Array with offset and length - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint32Array with offset - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint32Array with offset - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset and length - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset and length - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a Secure WebSocket - Blob - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a Secure WebSocket - Blob - Connection should be closed]
expected: NOTRUN

View file

@ -1,12 +1,8 @@
[Secure-Send-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send data on a Secure WebSocket - Connection should be opened]
expected: FAIL
[W3C WebSocket API - Send data on a Secure WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send data on a Secure WebSocket - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -1,9 +0,0 @@
[Secure-Send-null.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send null data on a Secure WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send null data on a Secure WebSocket - Connection should be closed]
expected: NOTRUN

View file

@ -1,12 +1,8 @@
[Secure-Send-paired-surrogates.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send paired surrogates data on a Secure WebSocket - Connection should be opened]
expected: FAIL
[W3C WebSocket API - Send paired surrogates data on a Secure WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send paired surrogates data on a Secure WebSocket - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -1,12 +1,8 @@
[Secure-Send-unicode-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send unicode data on a Secure WebSocket - Connection should be opened]
expected: FAIL
[W3C WebSocket API - Send unicode data on a Secure WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send unicode data on a Secure WebSocket - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -1,9 +0,0 @@
[Secure-Send-unpaired-surrogates.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send unpaired surrogates on a Secure WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send unpaired surrogates on a Secure WebSocket - Connection should be closed]
expected: NOTRUN

View file

@ -1,12 +1,8 @@
[Send-0byte-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send 0 byte data on a WebSocket - Connection should be opened]
expected: FAIL
[W3C WebSocket API - Send 0 byte data on a WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send 0 byte data on a WebSocket - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -1,12 +1,8 @@
[Send-65K-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send 65K data on a WebSocket - Connection should be opened]
expected: FAIL
[W3C WebSocket API - Send 65K data on a WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send 65K data on a WebSocket - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -1,9 +0,0 @@
[Send-Unpaired-Surrogates.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send unpaired surrogates on a WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send unpaired surrogates on a WebSocket - Connection should be closed]
expected: NOTRUN

View file

@ -5,7 +5,7 @@
expected: FAIL
[W3C WebSocket API - Send 65K binary data on a WebSocket - ArrayBuffer - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send 65K binary data on a WebSocket - ArrayBuffer - Connection should be closed]
expected: NOTRUN

View file

@ -5,7 +5,7 @@
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBuffer - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBuffer - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int16Array with offset - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int16Array with offset - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int8Array - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int8Array - Connection should be closed]
expected: NOTRUN

View file

@ -2,7 +2,7 @@
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - Blob - Message should be received]
expected: NOTRUN
expected: FAIL
[W3C WebSocket API - Send binary data on a WebSocket - Blob - Connection should be closed]
expected: NOTRUN

View file

@ -1,12 +1,8 @@
[Send-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send data on a WebSocket - Connection should be opened]
expected: FAIL
[W3C WebSocket API - Send data on a WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send data on a WebSocket - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -1,9 +0,0 @@
[Send-null.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send null data on a WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send null data on a WebSocket - Connection should be closed]
expected: NOTRUN

View file

@ -1,12 +1,8 @@
[Send-paired-surrogates.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send (paired surrogates) data on a WebSocket - Connection should be opened]
expected: FAIL
[W3C WebSocket API - Send (paired surrogates) data on a WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send (paired surrogates) data on a WebSocket - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -1,12 +1,8 @@
[Send-unicode-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send unicode data on a WebSocket - Connection should be opened]
expected: FAIL
[W3C WebSocket API - Send unicode data on a WebSocket - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send unicode data on a WebSocket - Connection should be closed]
expected: NOTRUN
expected: FAIL

View file

@ -1,6 +0,0 @@
[002.html]
type: testharness
expected: TIMEOUT
[WebSockets: server sends closing handshake]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[003.html]
type: testharness
expected: TIMEOUT
[WebSockets: client sends closing handshake]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[004.html]
type: testharness
expected: TIMEOUT
[WebSockets: data after closing handshake]
expected: TIMEOUT

View file

@ -1,6 +1,5 @@
[016.html]
type: testharness
expected: TIMEOUT
[WebSockets: non-ascii URL in query, document encoding windows-1252]
expected: TIMEOUT
expected: FAIL

View file

@ -1,6 +1,5 @@
[018.html]
type: testharness
expected: TIMEOUT
[WebSockets: NULL char in url]
expected: TIMEOUT
expected: FAIL

View file

@ -1,6 +1,5 @@
[001.html]
type: testharness
expected: TIMEOUT
[WebSockets: Cookie in request]
expected: TIMEOUT
expected: FAIL

View file

@ -1,5 +1,5 @@
[003.html]
type: testharness
[WebSockets: sending HttpOnly cookies in ws request]
expected: TIMEOUT
expected: FAIL

View file

@ -1,6 +1,5 @@
[006.html]
type: testharness
expected: TIMEOUT
[WebSockets: setting Secure cookie with document.cookie, checking ws request]
expected: TIMEOUT
expected: FAIL

View file

@ -1,6 +1,5 @@
[016.html]
type: testharness
expected: TIMEOUT
[WebSockets: addEventListener]
expected: TIMEOUT
expected: FAIL

View file

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

View file

@ -1,6 +0,0 @@
[008.html]
type: testharness
expected: TIMEOUT
[WebSockets: getting readyState in closed]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[007.html]
type: testharness
expected: TIMEOUT
[WebSockets: close() followed by send()]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[008.html]
type: testharness
expected: TIMEOUT
[WebSockets: send() in onclose]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[009.html]
type: testharness
expected: TIMEOUT
[WebSockets: send('')]
expected: TIMEOUT

View file

@ -1,5 +0,0 @@
[002.html]
type: testharness
[WebSockets: valid handshake]
expected: TIMEOUT

View file

@ -1,6 +1,5 @@
[003.html]
type: testharness
expected: TIMEOUT
[WebSockets: origin]
expected: TIMEOUT
expected: FAIL