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