Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: LayoutTests/http/tests/websocket/handshake-fail-by-maxlength.html

Issue 817733004: WebSocket layout tests clean up (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..42bd8cff733119216abfbc11a0333d8049e1a2e1 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)
+{
+ testPassed("onerror() was called");
+}
+
function timeoutCallback()
{
debug('Timed out (state = ' + ws.readyState + ')');

Powered by Google App Engine
This is Rietveld 408576698