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

Unified Diff: LayoutTests/http/tests/websocket/handshake-fail-by-mismatch-protocol-header.html

Issue 817733004: WebSocket layout tests clean up (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months 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/handshake-fail-by-mismatch-protocol-header.html
diff --git a/LayoutTests/http/tests/websocket/handshake-fail-by-mismatch-protocol-header.html b/LayoutTests/http/tests/websocket/handshake-fail-by-mismatch-protocol-header.html
index b74f178c6c37e6165c80b744bd665ddc5c2e3e7e..ef911f78100c888602e321cadca7c097bd335130 100644
--- a/LayoutTests/http/tests/websocket/handshake-fail-by-mismatch-protocol-header.html
+++ b/LayoutTests/http/tests/websocket/handshake-fail-by-mismatch-protocol-header.html
@@ -39,6 +39,11 @@ function doTest(index)
}
doTest(index + 1);
};
+
+ ws.onerror = function(errorEvent)
+ {
+ testPassed("onerror called.");
tyoshino (SeeGerritForStatus) 2015/01/13 05:31:50 onerror() was called
Paritosh Kumar 2015/01/13 10:20:28 Done.
+ };
}
doTest(0);

Powered by Google App Engine
This is Rietveld 408576698