Index: LayoutTests/http/tests/websocket/handshake-fail-by-more-protocol-header.html |
diff --git a/LayoutTests/http/tests/websocket/handshake-fail-by-more-protocol-header.html b/LayoutTests/http/tests/websocket/handshake-fail-by-more-protocol-header.html |
index e295752baa506a54f413e625b817fdb6e262013c..1e9bd98b9ca49db841c6122edd841961a6e0ab04 100644 |
--- a/LayoutTests/http/tests/websocket/handshake-fail-by-more-protocol-header.html |
+++ b/LayoutTests/http/tests/websocket/handshake-fail-by-more-protocol-header.html |
@@ -35,6 +35,11 @@ ws.onclose = function() |
endTest(); |
}; |
+ws.onerror = function(errorEvent) |
+{ |
+ testPassed("onerror called"); |
tyoshino (SeeGerritForStatus)
2015/01/13 05:31:52
onerror() was called
Paritosh Kumar
2015/01/13 10:20:28
Done.
|
+}; |
+ |
function timeOutCallback() |
{ |
debug("Timed out in state: " + ws.readyState); |