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