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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocols-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/invalid-subprotocols-expected.txt
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocols-expected.txt b/LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocols-expected.txt
index 6f2769b7047b293282bc892b4d825282fec16a06..37c4439338d9be56a42edc4d18caa823ad7a05f0 100644
--- a/LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocols-expected.txt
+++ b/LayoutTests/http/tests/websocket/tests/hybi/invalid-subprotocols-expected.txt
@@ -8,12 +8,12 @@ WebSocket should fail if invalid subprotocols are specified
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS new WebSocket(url, 'a b') threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket(url, 'a,b') threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket(url, 'a\0b') threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket(url, '\u3042') threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket(url, ['a', 'b', 'c d']) threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket(url, ['a', 'b', 'c', 'a']) threw exception Error: SyntaxError: DOM Exception 12.
+PASS new WebSocket(url, 'a b') threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket(url, 'a,b') threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket(url, 'a\0b') threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket(url, '\u3042') threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket(url, ['a', 'b', 'c d']) threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket(url, ['a', 'b', 'c', 'a']) 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