adding initial support for websocket subprotocol negotation

This commit is contained in:
jmr0 2015-12-03 13:58:30 -05:00
parent 99fd946130
commit 7d0bede8ba
12 changed files with 87 additions and 49 deletions

View file

@ -7845,9 +7845,6 @@
[WebSocket interface: attribute extensions]
expected: FAIL
[WebSocket interface: attribute protocol]
expected: FAIL
[CloseEvent interface: existence and properties of interface object]
expected: FAIL

View file

@ -1,9 +1,9 @@
[Create-Secure-valid-url-protocol-setCorrectly.htm]
[Create-Secure-valid-url-array-protocols.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: FAIL
[W3C WebSocket API - Create Secure WebSocket - Pass a valid URL and protocol string - Connection should be closed]
[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: FAIL

View file

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

View file

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

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

View file

@ -1,6 +0,0 @@
[012.html]
type: testharness
expected: TIMEOUT
[WebSockets: no protocol in response]
expected: TIMEOUT

View file

@ -9,18 +9,12 @@
[WebSocket interface: attribute extensions]
expected: FAIL
[WebSocket interface: attribute protocol]
expected: FAIL
[Stringification of new WebSocket("ws://foo")]
expected: FAIL
[WebSocket interface: new WebSocket("ws://foo") must inherit property "extensions" with the proper type (10)]
expected: FAIL
[WebSocket interface: new WebSocket("ws://foo") must inherit property "protocol" with the proper type (11)]
expected: FAIL
[CloseEvent interface: existence and properties of interface object]
expected: FAIL

View file

@ -1,5 +0,0 @@
[protocol-initial.html]
type: testharness
[WebSockets: getting protocol in connecting]
expected: FAIL