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