Index: LayoutTests/http/tests/websocket/reserved-opcodes.html |
diff --git a/LayoutTests/http/tests/websocket/reserved-opcodes.html b/LayoutTests/http/tests/websocket/reserved-opcodes.html |
index 3491f2301c88bf00ba533f7178dca4d8df58d26d..6920661d915ea9193d3ecf8b4516fcd65996c05a 100644 |
--- a/LayoutTests/http/tests/websocket/reserved-opcodes.html |
+++ b/LayoutTests/http/tests/websocket/reserved-opcodes.html |
@@ -47,6 +47,11 @@ function doTest(opcode) |
shouldBeFalse("closeEvent.wasClean"); |
doTest(opcode + 1); |
}; |
+ |
+ ws.onerror = function(errorEvent) |
+ { |
+ testPassed("onerror() was called"); |
+ }; |
} |
doTest(0); |