Index: LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html |
diff --git a/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html b/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html |
index 315ffe7faaebb95bd7845232fe49036e180dc0c0..11423ffb1415256b608815121b3320405c5d8a15 100644 |
--- a/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html |
+++ b/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html |
@@ -44,6 +44,11 @@ ws.onclose = function() |
endTest(); |
} |
+ws.onerror = function(errorEvent) |
+{ |
+ testPassed("onerror() was called"); |
+} |
+ |
function timeoutCallback() |
{ |
debug('Timed out (state = ' + ws.readyState + ')'); |