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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/send-empty-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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/tests/hybi/send-empty-expected.txt
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/send-empty-expected.txt b/LayoutTests/http/tests/websocket/tests/hybi/send-empty-expected.txt
index ef0cb94a822686c653f8be8769c022d21b38f786..50738ac97734064ba801397b94a75e6c1a2d25e0 100644
--- a/LayoutTests/http/tests/websocket/tests/hybi/send-empty-expected.txt
+++ b/LayoutTests/http/tests/websocket/tests/hybi/send-empty-expected.txt
@@ -2,7 +2,7 @@ WebSocket: Calling send() without arguments should raise SyntaxError.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS ws.send() threw exception TypeError: Not enough arguments.
+PASS ws.send() threw exception TypeError: Failed to execute 'send' on 'WebSocket': 1 argument required, but only 0 present..
PASS closeEvent.wasClean is true
PASS receivedMessages.length is 1
PASS receivedMessages[0] is "Goodbye"

Powered by Google App Engine
This is Rietveld 408576698