Chromium Code Reviews| Index: LayoutTests/http/tests/websocket/handshake-fail-by-maxlength.html |
| diff --git a/LayoutTests/http/tests/websocket/handshake-fail-by-maxlength.html b/LayoutTests/http/tests/websocket/handshake-fail-by-maxlength.html |
| index 564c2cbca27662d1adfbca97ebab783061ea483b..ec3cc788a534253c7cbd205455e08494a0e85857 100644 |
| --- a/LayoutTests/http/tests/websocket/handshake-fail-by-maxlength.html |
| +++ b/LayoutTests/http/tests/websocket/handshake-fail-by-maxlength.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> |
| @@ -44,6 +44,11 @@ ws.onclose = function() |
| endTest(); |
| } |
| +ws.onerror = function(errorEvent) |
| +{ |
| + debug("onerror() was called."); |
|
tyoshino (SeeGerritForStatus)
2015/01/13 05:31:50
let's use testPassed, and remove ".".
Paritosh Kumar
2015/01/13 10:20:28
Done.
|
| +} |
| + |
| function timeoutCallback() |
| { |
| debug('Timed out (state = ' + ws.readyState + ')'); |