| Index: LayoutTests/http/tests/websocket/tests/hybi/workers/close-code-and-reason.html
|
| diff --git a/LayoutTests/http/tests/websocket/tests/hybi/workers/close-code-and-reason.html b/LayoutTests/http/tests/websocket/tests/hybi/workers/close-code-and-reason.html
|
| deleted file mode 100644
|
| index 384bdba8bd42abd311d8fd9f8114722c0d885d59..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/websocket/tests/hybi/workers/close-code-and-reason.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("Test CloseEvent code and reason property in Worker.");
|
| -
|
| -window.jsTestIsAsync = true;
|
| -
|
| -function startsWith(str, prefix)
|
| -{
|
| - return str.indexOf(prefix) == 0;
|
| -}
|
| -
|
| -var worker = new Worker("resources/close-code-and-reason.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>
|
|
|