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

Unified Diff: LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.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/permessage-deflate-invalid-parameter.html
diff --git a/LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.html b/LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.html
index 6cba4bf9c46d07eb6e4e1be73111e5dcffad8ed7..75c7c068d14cafbc3056d675d700cde4f1646cdd 100644
--- a/LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.html
+++ b/LayoutTests/http/tests/websocket/permessage-deflate-invalid-parameter.html
@@ -45,6 +45,11 @@ function doTest(index)
else
doTest(index + 1);
};
+
+ ws.onerror = function(errorEvent)
+ {
+ testPassed("onerror() was called");
+ };
}
doTest(0);

Powered by Google App Engine
This is Rietveld 408576698