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

Unified Diff: LayoutTests/http/tests/websocket/reserved-opcodes.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/reserved-opcodes.html
diff --git a/LayoutTests/http/tests/websocket/reserved-opcodes.html b/LayoutTests/http/tests/websocket/reserved-opcodes.html
index 3491f2301c88bf00ba533f7178dca4d8df58d26d..6920661d915ea9193d3ecf8b4516fcd65996c05a 100644
--- a/LayoutTests/http/tests/websocket/reserved-opcodes.html
+++ b/LayoutTests/http/tests/websocket/reserved-opcodes.html
@@ -47,6 +47,11 @@ function doTest(opcode)
shouldBeFalse("closeEvent.wasClean");
doTest(opcode + 1);
};
+
+ ws.onerror = function(errorEvent)
+ {
+ testPassed("onerror() was called");
+ };
}
doTest(0);

Powered by Google App Engine
This is Rietveld 408576698