Index: LayoutTests/http/tests/websocket/invalid-encode-length.html |
diff --git a/LayoutTests/http/tests/websocket/invalid-encode-length.html b/LayoutTests/http/tests/websocket/invalid-encode-length.html |
index cf0653c88daf2066a1bc04996723dacd695858fa..b346f97638e9230d7dd0d61d924fa14ae96010b6 100644 |
--- a/LayoutTests/http/tests/websocket/invalid-encode-length.html |
+++ b/LayoutTests/http/tests/websocket/invalid-encode-length.html |
@@ -43,6 +43,11 @@ function doTest(curTest) |
else |
doTest(curTest + 1); |
}; |
+ |
+ ws.onerror = function(errorEvent) |
+ { |
+ testPassed("onerror() was called"); |
+ }; |
} |
doTest(0); |