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

Unified Diff: LayoutTests/http/tests/websocket/url-parsing-expected.txt

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. 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/url-parsing-expected.txt
diff --git a/LayoutTests/http/tests/websocket/url-parsing-expected.txt b/LayoutTests/http/tests/websocket/url-parsing-expected.txt
index 5e5f9b081357a0f961d2aefda3107b5528941a1c..9fae248827b00432a30f902d597bd4dd41e771d5 100644
--- a/LayoutTests/http/tests/websocket/url-parsing-expected.txt
+++ b/LayoutTests/http/tests/websocket/url-parsing-expected.txt
@@ -3,16 +3,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: 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..
-PASS new WebSocket("javascript:a") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'javascript' is not allowed..
-PASS new WebSocket("ws://127.0.0.1:25/") threw exception SecurityError: Failed to execute 'connect' on 'WebSocket': The port 25 is not allowed..
+PASS new WebSocket(null) threw exception SyntaxError: The URL's scheme must be either 'ws' or 'wss'. 'http' is not allowed..
+PASS new WebSocket("ws://javascript:a") threw exception SyntaxError: The URL 'ws://javascript:a/' is invalid..
+PASS new WebSocket("/applet") threw exception SyntaxError: The URL's scheme must be either 'ws' or 'wss'. 'http' is not allowed..
+PASS new WebSocket("javascript:a") threw exception SyntaxError: The URL's scheme must be either 'ws' or 'wss'. 'javascript' is not allowed..
+PASS new WebSocket("ws://127.0.0.1:25/") threw exception SecurityError: The port 25 is not allowed..
PASS (new WebSocket("ws://127.0.0.1:8880/a/../simple")).URL is "ws://127.0.0.1:8880/simple"
PASS (new WebSocket("ws://127.0.0.1:8880/simple?")).URL is "ws://127.0.0.1:8880/simple?"
PASS (new WebSocket("ws://127.0.0.1:8880/simple?k=v")).URL is "ws://127.0.0.1:8880/simple?k=v"
-PASS new WebSocket("ws://127.0.0.1/path#") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The URL contains a fragment identifier (''). Fragment identifiers are not allowed in WebSocket URLs..
-PASS new WebSocket("ws://127.0.0.1/path#fragment") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The URL contains a fragment identifier ('fragment'). Fragment identifiers are not allowed in WebSocket URLs..
+PASS new WebSocket("ws://127.0.0.1/path#") threw exception SyntaxError: The URL contains a fragment identifier (''). Fragment identifiers are not allowed in WebSocket URLs..
+PASS new WebSocket("ws://127.0.0.1/path#fragment") threw exception SyntaxError: The URL contains a fragment identifier ('fragment'). Fragment identifiers are not allowed in WebSocket URLs..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698