| Index: LayoutTests/http/tests/websocket/tests/hybi/workers/no-subprotocol.html
|
| diff --git a/LayoutTests/http/tests/websocket/tests/hybi/workers/no-subprotocol.html b/LayoutTests/http/tests/websocket/tests/hybi/workers/no-subprotocol.html
|
| deleted file mode 100644
|
| index 831ca8a80dbe44fab436e1eb0e290c64b9b0b275..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/websocket/tests/hybi/workers/no-subprotocol.html
|
| +++ /dev/null
|
| @@ -1,35 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<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("WebSocket's protocol attribute should be an empty string if the server did not provide Sec-WebSocket-Protocol header.");
|
| -
|
| -window.jsTestIsAsync = true;
|
| -
|
| -function startsWith(str, prefix)
|
| -{
|
| - return str.indexOf(prefix) == 0;
|
| -}
|
| -
|
| -var worker = new Worker("resources/no-subprotocol.js");
|
| -worker.onmessage = function (event)
|
| -{
|
| - var message = event.data;
|
| - if (startsWith(message, "PASS"))
|
| - testPassed(message);
|
| - else if (startsWith(message, "FAIL"))
|
| - testFailed(message)
|
| - else
|
| - debug(message);
|
| - if (message === "DONE")
|
| - finishJSTest();
|
| -};
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|