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

Unified Diff: LayoutTests/http/tests/websocket/compressed-control-frame.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/compressed-control-frame.html
diff --git a/LayoutTests/http/tests/websocket/compressed-control-frame.html b/LayoutTests/http/tests/websocket/compressed-control-frame.html
index 5b304b86faa61cb496a369c271c3837215390336..440150a6e94777c3a9dbbbb3f54a50e21e767bcc 100644
--- a/LayoutTests/http/tests/websocket/compressed-control-frame.html
+++ b/LayoutTests/http/tests/websocket/compressed-control-frame.html
@@ -33,6 +33,11 @@ ws.onclose = function(event)
finishJSTest();
};
+ws.onerror = function(error)
+{
+ testPassed("onerror() was called");
+};
+
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698