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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/bad-sub-protocol-non-ascii-expected.txt
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt b/LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt
index 39f2a1384929ccc88708ae7ea46b9e9c8bf90b8f..01428f2fe6fc489082886d1beda1de643cf7e8cc 100644
--- a/LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt
+++ b/LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt
@@ -9,13 +9,13 @@ Test WebSocket bad sub-protocol names by non-ASCII chars.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "€") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "あ") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "￿") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "￾") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "𠀋") threw exception Error: SyntaxError: DOM Exception 12.
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "€") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "あ") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "￿") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "￾") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "𠀋") threw exception SyntaxError: An invalid or illegal string was specified..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698