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