Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/workers/resources/close-in-onmessage-crash.js

Issue 101143002: Remove hybi sub directory for WebSocket layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698