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

Unified Diff: LayoutTests/http/tests/websocket/invalid-encode-length.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/invalid-encode-length.html
diff --git a/LayoutTests/http/tests/websocket/invalid-encode-length.html b/LayoutTests/http/tests/websocket/invalid-encode-length.html
index cf0653c88daf2066a1bc04996723dacd695858fa..b346f97638e9230d7dd0d61d924fa14ae96010b6 100644
--- a/LayoutTests/http/tests/websocket/invalid-encode-length.html
+++ b/LayoutTests/http/tests/websocket/invalid-encode-length.html
@@ -43,6 +43,11 @@ function doTest(curTest)
else
doTest(curTest + 1);
};
+
+ ws.onerror = function(errorEvent)
+ {
+ testPassed("onerror() was called");
+ };
}
doTest(0);

Powered by Google App Engine
This is Rietveld 408576698