Index: LayoutTests/http/tests/websocket/invalid-masked-frames-from-server.html |
diff --git a/LayoutTests/http/tests/websocket/invalid-masked-frames-from-server.html b/LayoutTests/http/tests/websocket/invalid-masked-frames-from-server.html |
index 2d9d02070543533b10259219d7d1e3add4766bb4..d7610e665f81eeb99d437ef05f2052fbd696ab0b 100644 |
--- a/LayoutTests/http/tests/websocket/invalid-masked-frames-from-server.html |
+++ b/LayoutTests/http/tests/websocket/invalid-masked-frames-from-server.html |
@@ -33,6 +33,11 @@ ws.onclose = function(event) |
finishJSTest(); |
}; |
+ws.onerror = function(errorEvent) |
+{ |
+ testPassed("onerror() was called"); |
+}; |
+ |
</script> |
</body> |
</html> |