Fixed definition of Close and Send in WebSocket.webidl and updated implementation in websocket.rs.

This commit is contained in:
Paul Faria 2015-05-16 14:10:10 -04:00
parent c51e9f0455
commit 66e9b33a52
5 changed files with 17 additions and 8 deletions

View file

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

@ -1,3 +1,5 @@
[006.html]
type: testharness
expected: TIMEOUT
[WebSockets: send() with unpaired surrogate when readyState is OPEN]
expected: TIMEOUT