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

Unified Diff: LayoutTests/http/tests/websocket/handshake-fail-by-no-accept-header.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-no-accept-header.html
diff --git a/LayoutTests/http/tests/websocket/handshake-fail-by-no-accept-header.html b/LayoutTests/http/tests/websocket/handshake-fail-by-no-accept-header.html
index 7875e398985504abb76673442976dfc289f0702f..401efaec0b45fd3e5f589e6a7711725e72e0917d 100644
--- a/LayoutTests/http/tests/websocket/handshake-fail-by-no-accept-header.html
+++ b/LayoutTests/http/tests/websocket/handshake-fail-by-no-accept-header.html
@@ -28,6 +28,11 @@ ws.onclose = function(event)
finishJSTest();
};
+ws.onerror = function(errorEvent)
+{
+ testPassed("onerror() was called");
+};
+
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698