Chromium Code Reviews| Index: LayoutTests/http/tests/websocket/long-invalid-header.html |
| diff --git a/LayoutTests/http/tests/websocket/long-invalid-header.html b/LayoutTests/http/tests/websocket/long-invalid-header.html |
| index 344dc93ce476a3a57a22c4cc2d2015813d4446c0..19610cbab85c776e1ab3499f371f14c4db0f230c 100644 |
| --- a/LayoutTests/http/tests/websocket/long-invalid-header.html |
| +++ b/LayoutTests/http/tests/websocket/long-invalid-header.html |
| @@ -24,6 +24,10 @@ ws.onclose = function () { |
| debug("WebSocket is closed"); |
| finish(); |
| }; |
| +ws.onerror = function(errorEvent) |
| +{ |
| + debug("Error occured"); |
|
tyoshino (SeeGerritForStatus)
2015/01/13 05:31:52
testPassed("onerror() was called");
Paritosh Kumar
2015/01/13 10:20:29
Done.
|
| +}; |
| var timeoutID = setTimeout("finish()", 2000); |
| </script> |