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..f8361557973b98c9c3fdb7d34e53c9d45d5d8f0d 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() was called"); |
+}; |
+ |
function timeOutCallback() |
{ |
debug("Timed out in state: " + ws.readyState); |