Index: LayoutTests/http/tests/websocket/handshake-fail-by-wrong-accept-header.html |
diff --git a/LayoutTests/http/tests/websocket/handshake-fail-by-wrong-accept-header.html b/LayoutTests/http/tests/websocket/handshake-fail-by-wrong-accept-header.html |
index dbd8885b70fefa88c7214795f93737f8753c66c3..a95e741b4b052d1839892007e8d1b7ac0618b2f0 100644 |
--- a/LayoutTests/http/tests/websocket/handshake-fail-by-wrong-accept-header.html |
+++ b/LayoutTests/http/tests/websocket/handshake-fail-by-wrong-accept-header.html |
@@ -28,6 +28,11 @@ ws.onclose = function(event) |
finishJSTest(); |
}; |
+ws.onerror = function(errorEvent) |
+{ |
+ testPassed("onerror() was called"); |
+}; |
+ |
</script> |
</body> |
</html> |