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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/url-parsing-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/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 47f14dfc9d1b7ec0b9698236e449746d4af0a84e..bd15200fc8342649acd86ad3814c6c77001560b4 100644
--- a/LayoutTests/http/tests/websocket/tests/hybi/url-parsing-expected.txt
+++ b/LayoutTests/http/tests/websocket/tests/hybi/url-parsing-expected.txt
@@ -10,16 +10,16 @@ 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(null) threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("ws://javascript:a") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("/applet") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("javascript:a") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("ws://127.0.0.1:25/") threw exception Error: SecurityError: DOM Exception 18.
+PASS new WebSocket(null) threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("ws://javascript:a") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("/applet") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("javascript:a") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("ws://127.0.0.1:25/") threw exception SecurityError: An attempt was made to break through the security policy of the user agent..
PASS (new WebSocket("ws://127.0.0.1:8880/a/../websocket/tests/hybi/simple")).URL is "ws://127.0.0.1:8880/websocket/tests/hybi/simple"
PASS (new WebSocket("ws://127.0.0.1:8880/websocket/tests/hybi/simple?")).URL is "ws://127.0.0.1:8880/websocket/tests/hybi/simple?"
PASS (new WebSocket("ws://127.0.0.1:8880/websocket/tests/hybi/simple?k=v")).URL is "ws://127.0.0.1:8880/websocket/tests/hybi/simple?k=v"
-PASS new WebSocket("ws://127.0.0.1/path#") threw exception Error: SyntaxError: DOM Exception 12.
-PASS new WebSocket("ws://127.0.0.1/path#fragment") threw exception Error: SyntaxError: DOM Exception 12.
+PASS new WebSocket("ws://127.0.0.1/path#") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebSocket("ws://127.0.0.1/path#fragment") 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