Index: LayoutTests/http/tests/websocket/too-long-payload.html |
diff --git a/LayoutTests/http/tests/websocket/too-long-payload.html b/LayoutTests/http/tests/websocket/too-long-payload.html |
index 976fa93ec7a2ca99288ed7328f4a1eda28332869..c9ed2908c67f36877b17d1fae3fae1fd8a2699f2 100644 |
--- a/LayoutTests/http/tests/websocket/too-long-payload.html |
+++ b/LayoutTests/http/tests/websocket/too-long-payload.html |
@@ -33,6 +33,11 @@ ws.onclose = function(event) |
finishJSTest(); |
}; |
+ws.onerror = function(errorEvent) |
+{ |
+ testPassed("onerror() was called"); |
+}; |
+ |
</script> |
</body> |
</html> |