mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a
This commit is contained in:
parent
847115ba04
commit
816185f094
272 changed files with 5766 additions and 2855 deletions
|
@ -1,7 +1,9 @@
|
|||
// META: script=websocket.sub.js
|
||||
|
||||
test(function () {
|
||||
var nonAsciiProtocol = "\u0080echo";
|
||||
var wsocket;
|
||||
assert_throws("SYNTAX_ERR", function () { wsocket = CreateWebSocketNonAsciiProtocol(nonAsciiProtocol) });
|
||||
}, "W3C WebSocket API - Create WebSocket - Pass a valid URL and a protocol string with non-ascii values - SYNTAX_ERR is thrown")
|
||||
test(function() {
|
||||
var nonAsciiProtocol = "\u0080echo";
|
||||
var wsocket;
|
||||
assert_throws("SYNTAX_ERR", function() {
|
||||
wsocket = CreateWebSocketNonAsciiProtocol(nonAsciiProtocol)
|
||||
});
|
||||
}, "W3C WebSocket API - Create WebSocket - Pass a valid URL and a protocol string with non-ascii values - SYNTAX_ERR is thrown")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue