Chromium Code Reviews| Index: LayoutTests/http/tests/websocket/handshake-fail-by-404.html |
| diff --git a/LayoutTests/http/tests/websocket/handshake-fail-by-404.html b/LayoutTests/http/tests/websocket/handshake-fail-by-404.html |
| index e0a7cb4838bfc5d41f3e210033bba2c3255d9c7c..7acda9e9a32c0245f30d3f57eb01e3aa480cc0de 100644 |
| --- a/LayoutTests/http/tests/websocket/handshake-fail-by-404.html |
| +++ b/LayoutTests/http/tests/websocket/handshake-fail-by-404.html |
| @@ -1,4 +1,4 @@ |
| -<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| +<!DOCTYPE HTML> |
| <html> |
| <head> |
| <script src="/js-test-resources/js-test.js"></script> |
| @@ -29,6 +29,11 @@ ws.onclose = function(event) |
| finishJSTest(); |
| } |
| +ws.onerror = function(errorEvent) |
| +{ |
| + testPassed("onerror called"); |
|
tyoshino (SeeGerritForStatus)
2015/01/13 05:31:49
onerror() was called
Paritosh Kumar
2015/01/13 10:20:28
Done.
|
| +}; |
| + |
| </script> |
| </body> |
| </html> |