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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/url-parsing-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/url-parsing-expected.txt
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/url-parsing-expected.txt b/LayoutTests/http/tests/websocket/tests/hybi/url-parsing-expected.txt
index 76d90f5e554a2cf81118a55f293d08a9946880c9..da49d1e875109308429c63f2efc7d47e3989bf64 100644
--- a/LayoutTests/http/tests/websocket/tests/hybi/url-parsing-expected.txt
+++ b/LayoutTests/http/tests/websocket/tests/hybi/url-parsing-expected.txt
@@ -2,7 +2,7 @@ Test WebSocket URL parsing.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS new WebSocket() threw exception TypeError: Not enough arguments.
+PASS new WebSocket() threw exception TypeError: Failed to construct 'WebSocket': 1 argument required, but only 0 present..
PASS new WebSocket(null) threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'http' is not allowed..
PASS new WebSocket("ws://javascript:a") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': the URL 'ws://javascript:a/' is invalid..
PASS new WebSocket("/applet") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'http' is not allowed..

Powered by Google App Engine
This is Rietveld 408576698