Index: LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.html |
diff --git a/LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.html b/LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.html |
index 6cba4bf9c46d07eb6e4e1be73111e5dcffad8ed7..75c7c068d14cafbc3056d675d700cde4f1646cdd 100644 |
--- a/LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.html |
+++ b/LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.html |
@@ -45,6 +45,11 @@ function doTest(index) |
else |
doTest(index + 1); |
}; |
+ |
+ ws.onerror = function(errorEvent) |
+ { |
+ testPassed("onerror() was called"); |
+ }; |
} |
doTest(0); |