Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed definition of Close and Send in WebSocket.webidl and updated im…
…plementation in websocket.rs.
- Loading branch information
1 parent
c51e9f0
commit 66e9b33
Showing
5 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/websockets/Close-reason-unpaired-surrogates.htm.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/websockets/Send-Unpaired-Surrogates.htm.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/websockets/interfaces/WebSocket/send/006.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[006.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[WebSockets: send() with unpaired surrogate when readyState is OPEN] | ||
expected: TIMEOUT |