Index: LayoutTests/http/tests/websocket/tests/hybi/workers/resources/close-in-onmessage-crash.js |
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/workers/resources/close-in-onmessage-crash.js b/LayoutTests/http/tests/websocket/tests/hybi/workers/resources/close-in-onmessage-crash.js |
deleted file mode 100644 |
index dbba354ed731120a480e75e75090a92e42466834..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/websocket/tests/hybi/workers/resources/close-in-onmessage-crash.js |
+++ /dev/null |
@@ -1,30 +0,0 @@ |
-function runTests() |
-{ |
- try { |
- var url = 'ws://localhost:8880/workers/resources/simple'; |
- var ws = new WebSocket(url); |
- |
- ws.onopen = function() |
- { |
- postMessage('PASS: worker: Connected.'); |
- }; |
- |
- ws.onmessage = function(messageEvent) |
- { |
- postMessage('PASS: worker: Received message: "' + messageEvent.data + '"'); |
- ws.close(); |
- }; |
- |
- ws.onclose = function() |
- { |
- postMessage('PASS: worker: Closed.'); |
- postMessage('DONE'); |
- }; |
- } catch (e) { |
- postMessage('FAIL: worker: Unexpected exception: ' + e); |
- } finally { |
- postMessage('PASS: worker: Parsed successfully.'); |
- } |
-} |
- |
-runTests(); |