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