Auto merge of #5939 - jdm:websocket, r=jdm

...ets using rust-websocket.

Authors:
Shivaji Vidhale <savidhal@ncsu.edu>
William Galliher <wpgallih@ncsu.edu>
Allen Chen <achen4@ncsu.edu>
Rucha Jogaikar <rsjogaik@ncsu.edu>

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5939)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-05-05 12:57:48 -05:00
commit 6d2f70a4fd
200 changed files with 1626 additions and 60 deletions

View file

@ -0,0 +1,69 @@
<!DOCTYPE html>
<meta charset="utf-8" />
<title>WebSocket Test</title>
<script language="javascript" type="text/javascript">
var wsUri = "ws://echo.websocket.org/";
var output;
function init() {
output = document.getElementById("output");
testWebSocket();
}
function testWebSocket() {
websocket = new WebSocket(wsUri);
websocket.onopen = function(evt) {
onOpen(evt)
};
websocket.onclose = function(evt) {
onClose(evt)
};
websocket.onmessage = function(evt) {
onMessage(evt)
};
websocket.onerror = function(evt) {
onError(evt)
};
}
function onOpen(evt) {
writeToScreen("CONNECTED");
doSend("WebSocket rocks");
}
function onClose(evt) {
writeToScreen("DISCONNECTED");
}
function onMessage(evt) {
writeToScreen('<span style="color: blue;">RESPONSE: ' + evt.data+'</span>');
websocket.close();
}
function onError(evt) {
writeToScreen('<span style="color: red;">ERROR:</span> ' + evt.data);
}
function doSend(message) {
writeToScreen("SENT: " + message);
websocket.send(message);
}
function writeToScreen(message) {
var pre = document.createElement("p");
pre.style.wordWrap = "break-word";
pre.innerHTML = message;
output.appendChild(pre);
}
window.addEventListener("load", init, false);
</script>
<h2>WebSocket Test</h2>
<div id="output"></div>

View file

@ -97,5 +97,7 @@ skip: true
skip: false
[encoding]
skip: false
[websockets]
skip: false
[_mozilla]
skip: false

View file

@ -8805,21 +8805,9 @@
[WebSocket interface object length]
expected: FAIL
[WebSocket interface: attribute readyState]
expected: FAIL
[WebSocket interface: attribute bufferedAmount]
expected: FAIL
[WebSocket interface: attribute onopen]
expected: FAIL
[WebSocket interface: attribute onerror]
expected: FAIL
[WebSocket interface: attribute onclose]
expected: FAIL
[WebSocket interface: attribute extensions]
expected: FAIL
@ -8835,39 +8823,12 @@
[WebSocket interface: attribute binaryType]
expected: FAIL
[WebSocket interface: operation send(DOMString)]
expected: FAIL
[WebSocket interface: operation send(Blob)]
expected: FAIL
[WebSocket interface: operation send(ArrayBuffer)]
expected: FAIL
[WebSocket interface: operation send(ArrayBufferView)]
expected: FAIL
[CloseEvent interface: existence and properties of interface object]
expected: FAIL
[CloseEvent interface object length]
expected: FAIL
[CloseEvent interface: existence and properties of interface prototype object]
expected: FAIL
[CloseEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[CloseEvent interface: attribute wasClean]
expected: FAIL
[CloseEvent interface: attribute code]
expected: FAIL
[CloseEvent interface: attribute reason]
expected: FAIL
[MessageChannel interface: existence and properties of interface object]
expected: FAIL

View file

@ -0,0 +1,6 @@
[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

@ -0,0 +1,6 @@
[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

@ -0,0 +1,3 @@
[Close-reason-unpaired-surrogates.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[Close-undefined.htm]
type: testharness
[W3C WebSocket API - Close WebSocket - Code is undefined]
expected: FAIL

View file

@ -0,0 +1,3 @@
[Create-Secure-blocked-port.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,9 @@
[Create-Secure-extensions-empty.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - wsocket.extensions should be set to '' after connection is established - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Create Secure WebSocket - wsocket.extensions should be set to '' after connection is established - Connection should be closed]
expected: NOTRUN

View file

@ -0,0 +1,3 @@
[Create-Secure-url-with-space.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,9 @@
[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 opened]
expected: NOTRUN
[W3C WebSocket API - Create Secure WebSocket - Pass a valid URL and array of protocol strings - Connection should be closed]
expected: NOTRUN

View file

@ -0,0 +1,9 @@
[Create-Secure-valid-url-binaryType-blob.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - wsocket.binaryType should be set to 'blob' after connection is established - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Create Secure WebSocket - wsocket.binaryType should be set to 'blob' after connection is established - Connection should be closed]
expected: NOTRUN

View file

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

View file

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

View file

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

View file

@ -0,0 +1,3 @@
[Create-Secure-verify-url-set-non-default-port.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[Create-invalid-urls.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[Create-non-absolute-url.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[Create-nonAscii-protocol-string.htm]
type: testharness
[W3C WebSocket API - Create WebSocket - Pass a valid URL and a protocol string with non-ascii values - SYNTAX_ERR is thrown]
expected: FAIL

View file

@ -0,0 +1,5 @@
[Create-protocol-with-space.htm]
type: testharness
[W3C WebSocket API - Create WebSocket - Pass a valid URL and a protocol string with a space in it - SYNTAX_ERR is thrown]
expected: FAIL

View file

@ -0,0 +1,5 @@
[Create-protocols-repeated.htm]
type: testharness
[W3C WebSocket API - Create WebSocket - Pass a valid URL and an array of protocol strings with repeated values - SYNTAX_ERR is thrown]
expected: FAIL

View file

@ -0,0 +1,6 @@
[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

@ -0,0 +1,5 @@
[Create-valid-url-protocol-empty.htm]
type: testharness
[W3C WebSocket API - Create WebSocket - wsocket.protocol should be empty before connection is established]
expected: FAIL

View file

@ -0,0 +1,6 @@
[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

@ -0,0 +1,6 @@
[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

@ -0,0 +1,3 @@
[Create-wrong-scheme.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[Secure-Close-0.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(0) - INVALID_ACCESS_ERR is thrown]
expected: NOTRUN

View file

@ -0,0 +1,9 @@
[Secure-Close-1000-reason.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(1000, reason) - Connection should be opened]
expected: NOTRUN
[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

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

View file

@ -0,0 +1,9 @@
[Secure-Close-1000.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(1000) - Connection should be opened]
expected: NOTRUN
[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

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

View file

@ -0,0 +1,6 @@
[Secure-Close-1005.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(1005) - see '7.1.5. The WebSocket Connection Close Code' in http://www.ietf.org/rfc/rfc6455.txt]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Secure-Close-2999-reason.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(2999, reason) - INVALID_ACCESS_ERR is thrown]
expected: NOTRUN

View file

@ -0,0 +1,9 @@
[Secure-Close-3000-reason.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(3000, reason) - Connection should be opened]
expected: NOTRUN
[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

@ -0,0 +1,9 @@
[Secure-Close-3000-verify-code.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(3000, reason) - Connection should be opened]
expected: NOTRUN
[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

@ -0,0 +1,9 @@
[Secure-Close-4999-reason.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(4999, reason) - Connection should be opened]
expected: NOTRUN
[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

@ -0,0 +1,6 @@
[Secure-Close-NaN.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - Close the Connection - close(NaN) - INVALID_ACCESS_ERR is thrown]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Secure-Close-Reason-124Bytes.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(code, 'reason more than 123 bytes') - SYNTAX_ERR is thrown]
expected: NOTRUN

View file

@ -0,0 +1,9 @@
[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 opened]
expected: NOTRUN
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(reason with unpaired surrogates) - connection should get closed]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Secure-Close-null.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - Close the Connection - close(null) - INVALID_ACCESS_ERR is thrown]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Secure-Close-onlyReason.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - close(only reason) - INVALID_ACCESS_ERR is thrown]
expected: NOTRUN

View file

@ -0,0 +1,9 @@
[Secure-Close-readyState-Closed.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - Connection should be opened]
expected: NOTRUN
[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

@ -0,0 +1,6 @@
[Secure-Close-readyState-Closing.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Close the Connection - readyState should be in CLOSING state just before onclose is called]
expected: NOTRUN

View file

@ -0,0 +1,9 @@
[Secure-Close-server-initiated-close.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create Secure WebSocket - Server initiated Close - Client sends back a CLOSE - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Create Secure WebSocket - Server initiated Close - Client sends back a CLOSE - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Secure-Close-string.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - Close the Connection - close(string) - INVALID_ACCESS_ERR is thrown]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[Secure-Close-undefined.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Close Secure WebSocket - Code is undefined]
expected: NOTRUN

View file

@ -0,0 +1,12 @@
[Secure-Send-65K-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send 65K data on a Secure WebSocket - Connection should be opened]
expected: NOTRUN
[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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,12 @@
[Secure-Send-binary-arraybufferview-float64.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Float64Array - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Float64Array - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Float64Array - Connection should be closed]
expected: NOTRUN

View file

@ -0,0 +1,12 @@
[Secure-Send-binary-arraybufferview-int32.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int32Array - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int32Array - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int32Array - Connection should be closed]
expected: NOTRUN

View file

@ -0,0 +1,12 @@
[Secure-Send-binary-arraybufferview-uint16-offset-length.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint16Array with offset and length - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint16Array with offset and length - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint16Array with offset and length - Connection should be closed]
expected: NOTRUN

View file

@ -0,0 +1,12 @@
[Secure-Send-binary-arraybufferview-uint32-offset.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint32Array with offset - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint32Array with offset - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint32Array with offset - Connection should be closed]
expected: NOTRUN

View file

@ -0,0 +1,12 @@
[Secure-Send-binary-arraybufferview-uint8-offset-length.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset and length - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset and length - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset and length - Connection should be closed]
expected: NOTRUN

View file

@ -0,0 +1,12 @@
[Secure-Send-binary-arraybufferview-uint8-offset.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Uint8Array with offset - Connection should be closed]
expected: NOTRUN

View file

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

View file

@ -0,0 +1,12 @@
[Secure-Send-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send data on a Secure WebSocket - Connection should be opened]
expected: NOTRUN
[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

View file

@ -0,0 +1,12 @@
[Secure-Send-null.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send null data on a Secure WebSocket - Connection should be opened]
expected: NOTRUN
[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

@ -0,0 +1,12 @@
[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: NOTRUN
[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

View file

@ -0,0 +1,12 @@
[Secure-Send-unicode-data.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send unicode data on a Secure WebSocket - Connection should be opened]
expected: NOTRUN
[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

View file

@ -0,0 +1,12 @@
[Secure-Send-unpaired-surrogates.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send unpaired surrogates on a Secure WebSocket - Connection should be opened]
expected: NOTRUN
[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

@ -0,0 +1,12 @@
[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

View file

@ -0,0 +1,12 @@
[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

View file

@ -0,0 +1,3 @@
[Send-Unpaired-Surrogates.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[Send-before-open.htm]
type: testharness
[W3C WebSocket API - Send data on a WebSocket before connection is opened - INVALID_STATE_ERR is returned]
expected: FAIL

View file

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

View file

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

View file

@ -0,0 +1,9 @@
[Send-binary-arraybufferview-int16-offset.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int16Array with offset - Message should be received]
expected: NOTRUN
[W3C WebSocket API - Send binary data on a WebSocket - ArrayBufferView - Int16Array with offset - Connection should be closed]
expected: NOTRUN

View file

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

View file

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

View file

@ -0,0 +1,12 @@
[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

View file

@ -0,0 +1,9 @@
[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

@ -0,0 +1,12 @@
[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

View file

@ -0,0 +1,12 @@
[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

View file

@ -0,0 +1,6 @@
[001.html]
type: testharness
expected: TIMEOUT
[WebSockets: Send/Receive blob, blob size less than network array buffer]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[002.html]
type: testharness
[WebSockets: Send/Receive blob, blob size greater than network array buffer]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[004.html]
type: testharness
[WebSockets: Send/Receive ArrayBuffer, size greater than network array buffer]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[005.html]
type: testharness
expected: TIMEOUT
[WebSockets: Send/Receive ArrayBuffer, size less than network array buffer]
expected: TIMEOUT

View file

@ -0,0 +1,9 @@
[binaryType-wrong-value.htm]
type: testharness
expected: TIMEOUT
[W3C WebSocket API - Create WebSocket - set binaryType to something other than blob or arraybuffer - SYNTAX_ERR is returned - Connection should be opened]
expected: NOTRUN
[W3C WebSocket API - Create WebSocket - set binaryType to something other than blob or arraybuffer - SYNTAX_ERR is returned - Connection should be closed]
expected: NOTRUN

View file

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

View file

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

View file

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

View file

@ -0,0 +1,3 @@
[002.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[004.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[005.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[006.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[007.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[008.html]
type: testharness
expected: TIMEOUT

View file

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

View file

@ -0,0 +1,3 @@
[010.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[011.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[012.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[013.html]
type: testharness
[WebSockets: multiple WebSocket objects]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[014.html]
type: testharness
[WebSockets: serialize establish a connection]
expected: FAIL

View file

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

View file

@ -0,0 +1,3 @@
[017.html]
type: testharness
expected: TIMEOUT

View file

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

View file

@ -0,0 +1,3 @@
[021.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[022.html]
type: testharness
expected: TIMEOUT

Some files were not shown because too many files have changed in this diff Show more