| Index: net/data/websocket/split_packet_check.html
|
| diff --git a/net/data/websocket/split_packet_check.html b/net/data/websocket/split_packet_check.html
|
| deleted file mode 100644
|
| index 6b7e980a788a7533942a8ee991b2b06bcadc657d..0000000000000000000000000000000000000000
|
| --- a/net/data/websocket/split_packet_check.html
|
| +++ /dev/null
|
| @@ -1,29 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -<title>test ws split packet</title>
|
| -<script type="text/javascript">
|
| -var protocol = location.protocol.replace('http', 'ws');
|
| -var url = protocol + '//' + location.host + '/close-with-split-packet';
|
| -
|
| -// Do connection test.
|
| -var ws = new WebSocket(url);
|
| -
|
| -ws.onopen = function()
|
| -{
|
| - // Close WebSocket connection once it is established.
|
| - ws.close();
|
| -}
|
| -
|
| -ws.onclose = function(event)
|
| -{
|
| - // Check wasClean, then set proper title.
|
| - if (event.wasClean && event.code === 3004 && event.reason === 'split test')
|
| - document.title = 'PASS';
|
| - else
|
| - document.title = 'FAIL';
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -</html>
|
|
|