Index: LayoutTests/http/tests/websocket/handshake-fail-by-no-upgrade-header.html |
diff --git a/LayoutTests/http/tests/websocket/handshake-fail-by-no-upgrade-header.html b/LayoutTests/http/tests/websocket/handshake-fail-by-no-upgrade-header.html |
index ccdbc2a2a1cd3fcaa6b4b510e15a146d238a8cfe..3092c3a617665df81892649bf3a39375a50a954d 100644 |
--- a/LayoutTests/http/tests/websocket/handshake-fail-by-no-upgrade-header.html |
+++ b/LayoutTests/http/tests/websocket/handshake-fail-by-no-upgrade-header.html |
@@ -36,6 +36,11 @@ ws.onclose = function() |
endTest(); |
}; |
+ws.onerror = function(errorEvent) |
+{ |
+ debug("PASS: onerror called"); |
tyoshino (SeeGerritForStatus)
2015/01/13 05:31:52
testPassed("onerror() was called");
Paritosh Kumar
2015/01/13 10:20:28
Done.
|
+}; |
+ |
function timeOutCallback() |
{ |
debug("Timed out in state: " + ws.readyState); |