| Index: LayoutTests/http/tests/websocket/tests/hybi/null-character.html
|
| diff --git a/LayoutTests/http/tests/websocket/tests/hybi/null-character.html b/LayoutTests/http/tests/websocket/tests/hybi/null-character.html
|
| deleted file mode 100644
|
| index a8541c6a5173ebed8ffc9bdbca3f1c9bdb56b36f..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/websocket/tests/hybi/null-character.html
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
| -<html>
|
| -<head>
|
| -<script src="/js-test-resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<div id="description"></div>
|
| -<div id="console"></div>
|
| -<script type="text/javascript">
|
| -description("Make sure WebSocket transfer null character");
|
| -
|
| -window.jsTestIsAsync = true;
|
| -
|
| -var ws = new WebSocket("ws://127.0.0.1:8880/echo");
|
| -// \xff in string would be \xc3\xbf on websocket connection (UTF-8)
|
| -var expectedMessage = "Should Not\xff\0Split";
|
| -
|
| -ws.onopen = function()
|
| -{
|
| - debug("WebSocket open");
|
| - ws.send(expectedMessage);
|
| -};
|
| -
|
| -var msg;
|
| -ws.onmessage = function(messageEvent)
|
| -{
|
| - msg = messageEvent.data;
|
| - debug("msg should not be split by frame char \\xff\\0");
|
| - shouldBe("msg", "expectedMessage");
|
| - ws.close();
|
| -};
|
| -
|
| -ws.onclose = function()
|
| -{
|
| - debug("WebSocket closed");
|
| - finishJSTest();
|
| -};
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|