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

Unified Diff: LayoutTests/http/tests/websocket/bad-sub-protocol-control-chars-expected.txt

Issue 111373003: Migrate bindings constructors to the new ExceptionState model. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ugh. Created 7 years 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/bad-sub-protocol-control-chars-expected.txt
diff --git a/LayoutTests/http/tests/websocket/bad-sub-protocol-control-chars-expected.txt b/LayoutTests/http/tests/websocket/bad-sub-protocol-control-chars-expected.txt
index aa3d3500b750e4417ebee6750a58e50bc81608d0..e21f673b3f0ce1e621585f7bd527c142e126aead 100644
--- a/LayoutTests/http/tests/websocket/bad-sub-protocol-control-chars-expected.txt
+++ b/LayoutTests/http/tests/websocket/bad-sub-protocol-control-chars-expected.txt
@@ -2,13 +2,13 @@ Test WebSocket bad sub-protocol names by control characters.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "\0") threw exception SyntaxError: The subprotocol '\u0000' is invalid..
-PASS new WebSocket("ws://127.0.0.1:8880/simple", " ") threw exception SyntaxError: The subprotocol '\u0009' is invalid..
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "\0") threw exception SyntaxError: Failed to construct 'WebSocket': The subprotocol '\u0000' is invalid..
+PASS new WebSocket("ws://127.0.0.1:8880/simple", " ") threw exception SyntaxError: Failed to construct 'WebSocket': The subprotocol '\u0009' is invalid..
PASS new WebSocket("ws://127.0.0.1:8880/simple", "
") threw exception SyntaxError: Unexpected token ILLEGAL.
PASS new WebSocket("ws://127.0.0.1:8880/simple", "
") threw exception SyntaxError: Unexpected token ILLEGAL.
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxError: The subprotocol '\u001B' is invalid..
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxError: Failed to construct 'WebSocket': The subprotocol '\u001B' is invalid..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698