Index: LayoutTests/http/tests/websocket/reserved-bits.html |
diff --git a/LayoutTests/http/tests/websocket/reserved-bits.html b/LayoutTests/http/tests/websocket/reserved-bits.html |
index 46bd20bb747abcc57371771ce52dabebe4e9c95b..25ac540548e68057c5324b2e0bf5ec781d673977 100644 |
--- a/LayoutTests/http/tests/websocket/reserved-bits.html |
+++ b/LayoutTests/http/tests/websocket/reserved-bits.html |
@@ -47,6 +47,11 @@ function doTest(curTestIndex) |
else |
doTest(curTestIndex + 1); |
}; |
+ |
+ ws.onerror = function(errorEvent) |
+ { |
+ testPassed("onerror() was called"); |
+ }; |
} |
doTest(0); |