| Index: LayoutTests/http/tests/websocket/tests/hybi/handshake-challenge-randomness.html
|
| diff --git a/LayoutTests/http/tests/websocket/tests/hybi/handshake-challenge-randomness.html b/LayoutTests/http/tests/websocket/tests/hybi/handshake-challenge-randomness.html
|
| deleted file mode 100644
|
| index 40a3e5b4b69b0fd75f61b7a0c8916c128c73614c..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/websocket/tests/hybi/handshake-challenge-randomness.html
|
| +++ /dev/null
|
| @@ -1,47 +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('Handshake request should contain random challenge values.');
|
| -
|
| -window.jsTestIsAsync = true;
|
| -
|
| -var challenge1;
|
| -var challenge2;
|
| -
|
| -var url = 'ws://localhost:8880/echo-challenge';
|
| -var ws1 = new WebSocket(url);
|
| -
|
| -ws1.onmessage = function(messageEvent)
|
| -{
|
| - challenge1 = messageEvent.data;
|
| - ws1.close();
|
| -}
|
| -
|
| -ws1.onclose = function()
|
| -{
|
| - var ws2 = new WebSocket(url);
|
| -
|
| - ws2.onmessage = function(messageEvent)
|
| - {
|
| - challenge2 = messageEvent.data;
|
| - ws2.close();
|
| - }
|
| -
|
| - ws2.onclose = function()
|
| - {
|
| - shouldBeFalse('challenge1 === challenge2');
|
| - if (challenge1 === challenge2)
|
| - debug('challenge was ' + challenge1);
|
| - finishJSTest();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|