Auto merge of #7214 - tomjakubowski:websocket-binaryType, r=Ms2ger

Implement WebSocket#binaryType

Closes #7098

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7214)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-15 19:57:58 -06:00
commit 7c63c7d7c1
6 changed files with 34 additions and 33 deletions

View file

@ -8298,9 +8298,6 @@
[WebSocket interface: attribute protocol]
expected: FAIL
[WebSocket interface: attribute binaryType]
expected: FAIL
[CloseEvent interface: existence and properties of interface object]
expected: FAIL
@ -8981,4 +8978,3 @@
[HTMLOptionElement interface: new Option() must inherit property "index" with the proper type (7)]
expected: FAIL

View file

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

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

@ -15,9 +15,6 @@
[WebSocket interface: attribute protocol]
expected: FAIL
[WebSocket interface: attribute binaryType]
expected: FAIL
[WebSocket interface: operation send(DOMString)]
expected: FAIL
@ -42,9 +39,6 @@
[WebSocket interface: new WebSocket("ws://foo") must inherit property "protocol" with the proper type (11)]
expected: FAIL
[WebSocket interface: new WebSocket("ws://foo") must inherit property "binaryType" with the proper type (14)]
expected: FAIL
[WebSocket interface: calling send(DOMString) on new WebSocket("ws://foo") with too few arguments must throw TypeError]
expected: FAIL
@ -62,4 +56,3 @@
[CloseEvent interface: existence and properties of interface prototype object]
expected: FAIL